27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6-58<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 for Email Advanced Configuration Guide<br />

Chapter 6 Using Message Filters to Enforce Email Policies<br />

Note The alt-mailhost action prevents a message classified as spam by an anti-spam scanning engine from<br />

being quarantined. The alt-mailhost action overrides the quarantine action and sends it to the specified<br />

mail host.<br />

The following filter redirects recipient addresses to the host example.com for all messages.<br />

localRedirectFilter:<br />

if(true)<br />

{<br />

}<br />

Thus, a message directed to joe@anywhere.com is delivered to the mailhost at example.com with the<br />

Envelope To address joe@anywhere.com. Note that any additional routing information specified by the<br />

smtproutes command still affects the routing of the message. (See Routing Email for Local Domains,<br />

page 2-1.)<br />

Note The alt-mailhost action does not support specifying a port number. To do this, add an SMTP route<br />

instead.<br />

The following filter redirects all messages to 192.168.12.5:<br />

local2Filter:<br />

if(true)<br />

{<br />

}<br />

alt-mailhost('example.com');<br />

alt-mailhost('192.168.12.5');<br />

Alter Source Host (Virtual Gateway address) Action<br />

The alt-src-host action changes the source host for the message to the source specified. The source<br />

host consists of the IP interface or group of IP interfaces that the messages should be delivered from. If<br />

a group of IP interfaces is selected, the system round-robins through all of the IP interfaces within the<br />

group as the source interface when delivering email. In essence, this allows multiple Virtual Gateway<br />

addresses to be created on a single Cisco <strong>IronPort</strong> Email Security appliance. For more information, see<br />

Using Virtual Gateway Technology, page 2-59.<br />

OL-25137-01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!