Add an SMTP spam scan policy

With SMTP spam scan policies, you can specify filter criteria, 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.
  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 the policy applies the specified action.

    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.


    XG Firewall applies the action that you specify to all emails between the specified senders and recipients.

  5. Specify the action.

    Rejects email and notifies sender


    Delivers 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 prefix to subject and delivers 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”.

    Drops email without notifying sender


    Quarantines email

    Note You can apply SPX encryption only to outbound emails.
  6. Click Save.