Cisco Cisco Email Security Appliance X1050 Guía Del Usuario
9-67
User Guide for AsyncOS 9.7 for Cisco Email Security Appliances
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)
{