Cisco Cisco Email Security Appliance C170 Betriebsanweisung
9-28
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Rules
Receiving IP Interface Rule
The
recv-int
rule selects those messages received via the named interface. The interface name must be
the nickname of one of the interfaces currently configured for the system. For example, the following
filter bounces any message arriving from the interface named
filter bounces any message arriving from the interface named
outside
.
Date Rule
The
date
rule checks the current time and date against a time and date you specify. The date rule is
compares against a string containing a timestamp of the format
MM/DD/YYYY hh:mm:ss. This is useful to specify actions to be performed before or after certain times
in US format. (Note that there may be an issue if you are searching messages with non-US date formats.)
the following filter bounces all messages from
MM/DD/YYYY hh:mm:ss. This is useful to specify actions to be performed before or after certain times
in US format. (Note that there may be an issue if you are searching messages with non-US date formats.)
the following filter bounces all messages from
campaign1@yourdomain.com
that are injected after
1:00pm on July 28th, 2003:
Note
Do not confuse the
date
rule with the
$Date
message filter action variable.
Header Rule
The
header()
rule checks the message headers for a specific header, which must be specified quoted in
parentheses (“header name”). This rule may be compared to a regular expression, much like the
subject
rule, or may be used without any comparison, in which case it will be “true” if the header is found in the
outsideFilter:
if (recv-int == 'outside')
{
bounce();
}
TimeOutFilter:
if ((date > '07/28/2003 13:00:00') and (mail-from ==
'campaign1@yourdomain\\.com'))
{
bounce();
}