Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1212
 
9-28
User Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Rules
The allowed hosts notation can only identify sequences and numeric ranges of IP addresses (not 
hostnames). For example, the following filter bounces any message not injected from IP addresses of 
form 
10.1.1.
x where 
X
 is 
50
51
52
53
54
, or 
55
.
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 
notMineFilter:
   if (remote-ip != '10.1.1.50-55')
   {
        bounce();
   }
expediteFilter:
   if (recv-listener == 'expedite')
   {
 skip-filters();
   }
outsideFilter:
   if (recv-int == 'outside')
   {
        bounce();
   }