Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
Chapter 5 Using Message Filters to Enforce Email Policies
5-362
Cisco IronPort AsyncOS 7.1 for Email Advanced Configuration Guide
OL-22164-02
The following filter redirects recipient addresses to the host
example.com
for all
messages.
localRedirectFilter:
if(true)
{
alt-mailhost('example.com');
}
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
:
local2Filter:
if(true)
{
alt-mailhost('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
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