Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 570
6-331
Cisco IronPort AsyncOS 7.3 for Email Advanced Configuration Guide
OL-23081-01
Chapter 6      Using Message Filters to Enforce Email Policies
(the right side of the expression). For example, the following message filter rule 
evaluates to 
true
 if the sender group of the message matches the regular 
expression Internal, and, if so, sends the message to an alternate mail host. 
senderGroupFilter:
      if (sendergroup == "Internal")
      {
        alt-mailhost("[172.17.0.1]");
      }
Body Size Rule
Body size refers to the size of the message, including both headers and 
attachments. The 
body-size
 rule selects those messages where the body size 
compares as directed to a given number. For example, the following filter bounces 
any message where the body size is greater than 5 megabytes.
BigFilter:
   if (body-size > 5M)
   {
        bounce();
   }
The 
body-size
 can be compared in the following ways:
Example
Comparison Type
body-size < 10M
Less than
body-size <= 10M
Less than or equal
body-size > 10M
Greater than
body-size >= 10M
Greater than or equal