Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1211
 
9-66
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Actions
The following filter sends all messages with an Envelope Recipient address that contain 
.freelist.com
 
and changes all recipients for the message to 
system-lists@myhost.com
:
Alter Delivery Host Action
The 
alt-mailhost
 action changes the IP address for all recipients of the selected message to the numeric 
IP address or hostname given. 
Note
The 
alt-mailhost
 action prevents a message classified as spam by an anti-spam scanning engine from 
being quarantined. The 
alt-mailhost
 action overrides the quarantine action and sends it to the specified 
mail host.
The following filter redirects recipient addresses to the host 
example.com
 for all messages.
Thus, a message directed to 
joe@anywhere.com
 is delivered to the mailhost at 
example.com
 with the 
Envelope To address 
joe@anywhere.com
. Note that any additional routing information specified by the 
smtproutes
 command still affects the routing of the message. (See 
.)
Note
The 
alt-mailhost 
action does not support specifying a port number. To do this, add an SMTP route 
instead.
The following filter redirects all messages to 
192.168.12.5
:
freelistFilter:
   if(rcpt-to == '\\.freelist\\.com$')
   {
        alt-rcpt-to('system-lists@myhost.com');
   }
localRedirectFilter:
   if(true)
   {
        alt-mailhost('example.com');
   }
local2Filter:
   if(true)
   {