Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1197
 
9-28
User Guide for AsyncOS 9.7 for Cisco Email Security Appliances
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Rules
Receiving Listener Rule
The 
recv-listener
 rule selects those messages received on the named listener. The listener name must 
be the nickname of one of the listeners currently configured on the system. For example, the following 
filter immediately delivers any message arriving from the listener named 
expedite
.
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 
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 
campaign1@yourdomain.com
 that are injected after 
1:00pm on July 28th, 2003:
   {
        bounce();
   }
expediteFilter:
   if (recv-listener == 'expedite')
   {
 skip-filters();
   }
outsideFilter:
   if (recv-int == 'outside')
   {
        bounce();
   }
TimeOutFilter:
   if ((date > '07/28/2003 13:00:00') and (mail-from == 
      'campaign1@yourdomain\\.com'))