Skip to content
The XG Series hardware appliances will reach end-of-life (EOL) on March 31, 2025. Click here to see the XG to XGS migration documentation.

Add an SMTP spam scan policy (legacy mode)

With SMTP spam scan policies, you can specify filter criteria, an action, and encryption for senders' and recipients' emails.

You can apply filters for inbound and outbound emails, source and destination, message and data criteria. You can specify SPX encryption, quarantine, and delivery action.

To add an SMTP spam scan policy, do as follows:

  1. Go to Email > Policies, click Add a policy and then click SMTP spam scan.
  2. Enter a name.
  3. Specify the senders' and recipients' email address groups or domain groups. Specify an exact match or keyword match.
  4. Specify the filter criteria based on which policy applies the specified action.

    Option Description
    Inbound email is Criteria for spam, probable spam, virus outbreak, or probable virus outbreak.
    Outbound email is Criteria for spam, probable spam, virus outbreak, or probable virus outbreak.
    Source IP/network address Sender's IP address or network address.
    Destination IP/network address Recipient’s IP address or network address.
    Sender remote blacklist Select the RBL group to check for sender.
    Message size Upper or lower limit of email size for scanning.
    Message header Header criteria.
    For Other, enter the details.
    Specify an exact match or keyword match.
    Specify the keyword.
    Data control list Select the data control list. Applies only to outbound emails.
    None Sophos Firewall applies the action that you specify to all emails sent between the specified senders and recipients.
  5. Specify the action.

    Option Description
    Reject Rejects the email and notifies the sender.
    Accept Delivers the email.
    Select the SPX template.
    Change recipient Specify a recipient to send the email to. Emails won’t be delivered to the recipient specified in the email.
    Prefix subject Adds a prefix to the subject and delivers the email. Select the SPX template.
    Note: You can specify a prefix that indicates the filter criteria. For example, if you specify the prefix Probable spam to the subject Test email, recipients receive an email with the subject Probable spam: Test email.
    Drop Drops the email without notifying the sender.
    Quarantine Quarantines email.

    Note

    You can apply SPX encryption to outbound emails only.

  6. Click Save.

More resources