Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
9-58
Cisco AsyncOS 8.0.2 for Email User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Message Filter Actions
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
:
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 interface when delivering email. In essence, this allows multiple Virtual Gateway
addresses to be created on a single Cisco Email Security appliance. For more information, see
a group of IP interfaces is selected, the system round-robins through all of the IP interfaces within the
group as the source interface when delivering email. In essence, this allows multiple Virtual Gateway
addresses to be created on a single Cisco Email Security appliance. For more information, see
.
localRedirectFilter:
if(true)
{
alt-mailhost('example.com');
}
local2Filter:
if(true)
{
alt-mailhost('192.168.12.5');
}