Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 548
Chapter 5      Using Message Filters to Enforce Email Policies
5-364
Cisco IronPort AsyncOS 7.1 for Email Advanced Configuration Guide
OL-22164-02
Note
The 
logconfig
 command is a subcommand of 
filters
. See 
 for a full description of how to use this 
subcommand.
The mbox format is a standard UNIX mailbox format, and there are many utilities 
available to make viewing the messages easier. Most UNIX systems allow you to 
type 
 
mail -f 
mbox.filename” to view the files. The mbox format is in plain text, so 
you can use a simple text editor to view the contents of the messages.
In the following example, a copy of the message is saved to a log named 
joesmith
 
if the Envelope Sender matches 
joesmith@yourdomain.com
:
logJoeSmithFilter:
   if(mail-from == '^joesmith@yourdomain\\.com$')
   {
        archive('joesmith');
   }
Strip Header Action
The 
strip-header
 action examines the message for a particular header and 
removes those lines from the message before delivering it. When there are 
multiple headers, all instances of the header are removed (for example, the 
“Received:” header.) 
In the following example, all messages have the header 
X-DeleteMe
 removed 
before transmission:
stripXDeleteMeFilter:
   if (true)
   {