Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
Chapter 6 Using Message Filters to Enforce Email Policies
6-88
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
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
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
:
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.)
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:
logJoeSmithFilter:
if(mail-from == '^joesmith@yourdomain\\.com$')
{
archive('joesmith');
}
stripXDeleteMeFilter:
if (true)
{