The third part of the policy script continues to handle messages from external hosts previously
filtered in Part Two: External Hosts. Specifically, this part of the policy filters messages on
whitelisted relays, anti-spam opt-out lists, and blacklisted relays.
The
Manager screen shot shows where to edit list-checking rules and actions for messages from
external hosts. A step-by-step description of this part of the policy is provided below.
Description:
Messages reaching this part of the policy script are from external hosts and have been
previously scanned for viruses and suspect attachments. These contagion-free messages are now
checked for membership on whitelists, blacklists, and anti-spam opt-out lists, as follows:
- If the message originates from a Relay defined in the Whitelisted Hosts list or the message
has an Envelope From address defined in the Whitelisted Senders list or Whitelisted Senders
(per-user) list:
- The message is delivered.
- A mark is added to the message log indicating that the message originated from a
whitelisted address.
- Message processing stops.
- If the message recipient address is defined in the Anti-Spam Opt-Out list:
- The message is delivered.
- A mark is added to the message log indicating that the recipient is a member of the
Anti-Spam Opt-Out list.
- Message processing continues for recipients who are not defined in the Anti-Spam Opt-Out
list. (If all recipients are included in the list, message processing stops.)
- If the message originates from a Relay defined in the Blacklisted Hosts list or the message
has an Envelope From address defined in the Blacklisted Senders list or Blacklisted Senders
(per-user) list:
- The message is quarantined with the reason "Blacklisted".
- A mark is added to the message log indicating that the message originated from a
blacklisted address.
- Message processing stops.