27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Bounce Profile Action<br />

OL-25137-01<br />

If the message is plain text (text/plain), the message passes through the filter unchanged. If the message<br />

is a simple HTML message (text/html), all the HTML tags are stripped out of the message and the<br />

resulting body replaces the HTML message. The lines are not reformatted, and the HTML is not rendered<br />

in plain text. If the structure is MIME (with a multipart/alternative structure) and it contains both a<br />

text/plain part and text/html part with the same content, the filter removes the text/html part of the<br />

message and leaves the text/plain part of the message. For all other MIME types (such as<br />

multipart/mixed), all HTML body parts are stripped of their tags and reinserted into the message.<br />

When encountered in a message filter, the html-convert() filter action only tags the message to be<br />

processed but does not immediately make a change to the message structure. The changes to the message<br />

only take effect after all processing is complete. This allows the other filter actions to process the original<br />

message body prior to modification.<br />

The bounce-profile action assigns a previously-configured bounce profile to the message. (See<br />

Directing Bounced Email, page 2-35.) If the message is undeliverable, the bounce options configured<br />

via the bounce profile are used. Using this feature overrides the bounce profile assigned to the message<br />

from the listener’s <strong>configuration</strong> (if one is assigned).<br />

The following filter example assigns the bounce profile “fastbounce” to all email sent with the header<br />

X-Bounce-Profile: fastbounce:<br />

fastbounce:<br />

Bypass Anti-Spam System Action<br />

if (header ('X-Bounce-Profile') == 'fastbounce') {<br />

}<br />

bounce-profile ('fastbounce');<br />

The skip-spamcheck action instructs the system to allow the message to bypass any content-based<br />

anti-spam filtering configured on the system. This action does nothing to the message if no content-based<br />

anti-spam filtering is configured, or if the message was never flagged to be scanned for spam in the first<br />

place.<br />

The following example allows messages that have a high SenderBase Reputation Score to bypass the<br />

content-based anti-spam filtering feature:<br />

whitelist_on_reputation:<br />

if (reputation > 7.5)<br />

{<br />

}<br />

skip-spamcheck();<br />

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

6-63

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

Saved successfully!

Ooh no, something went wrong!