Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 568
Chapter 6      Using Message Filters to Enforce Email Policies
6-86
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
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
:
Alter Source Host (Virtual Gateway address) Action
The 
alt-src-host
 action changes the source host for the message to the source 
specified. The source host consists of the IP interface or group of IP interfaces that 
the messages should be delivered from. If a group of IP interfaces is selected, the 
system round-robins through all of the IP interfaces within the group as the source 
localRedirectFilter:
   if(true)
   {
        alt-mailhost('example.com');
   }
local2Filter:
   if(true)
   {
        alt-mailhost('192.168.12.5');
   }