Configuring the Policy Script

Messages processed by PureMessage are passed through the policy filter. The policy filter compares characteristics of the message against policy tests, and depending on the outcome of the test, applies the associated message-handling action. Together, tests and actions are referred to as "rules".

Policy actions are the components of rules that determine what happens to a message that passes the test. Multiple actions can be specified. General actions include:

  • Accept the Message: Deliver the message to its envelope recipients.
  • Copy Message to Quarantine: Copy the message to the quarantine; deliver the message to the intended recipient(s).
  • Add Header and Deliver Message: Changes the message header; delivers the message to the intended recipient(s).

See “Policy Actions”, in the Manager Reference, or the pmx-policy man page, for a specific list of actions available for each module.