It is common for corporate email messages to carry standard tag lines that are appended to outgoing messages. The following rule automatically adds specified information to messages sent to external addresses, but not to messages exchanged within a company. (Note that this example assumes you are using the default PureMessage Policy configuration.)
To add corporate information to outbound messages using the PureMessage Manager:
Policy Script
To add corporate information to outbound messages by editing the policy script:
if pmx_virus { # attr NAME=Allow unscannable messages to pass through if pmx_virus_cantscan { keep; stop; } reject "One or more viruses were detected in the message."; stop; } # attr NAME=Add message inviting feedback elsif not address :all :memberof :comparator "i;ascii-casemap" ["to", "cc", "bcc"] ["Local"] { pmx_add_banner :body :file "/opt/pmx/home/banner.txt"; stop; }
See the Policy Script Tutorial for more information about modifying the policy script from the command line.