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.

6-42<br />

}<br />

notify("admin@example.com");<br />

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

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

The following example adds a header if the message has an X.509 certificate:<br />

AnyX509: if signed-certificate ("issuer") {<br />

}<br />

The following example adds a header if the message’s certificate does not have a signer:<br />

Message Filter Actions<br />

The purpose of message filters is to perform actions on selected messages.<br />

The two types of actions are:<br />

Final actions — such as deliver, drop, and bounce — end the processing of a message, and permit<br />

no further processing through subsequent filters.<br />

Non-final actions perform an action which permits the message to be processed further.<br />

Non-final message filter actions are cumulative. If a message matches multiple filters where each filter<br />

specifies a different action, then all actions are accumulated and enforced. However, if a message<br />

matches multiple filters specifying the same action, the prior actions are overridden and the final filter<br />

action is enforced.<br />

Filter Actions Summary Table<br />

insert-header("X-Test", "X.509 present");<br />

NoSigner: if not signed-certificate ("signer") {<br />

}<br />

insert-header("X-Test", "Old X.509?");<br />

Message filters can apply the following actions shown in Table 6-5 to an email message.<br />

Table 6-5 Message Filter Actions<br />

Action Syntax Description<br />

Alter source host alt-src-host Change the source hostname and IP interface (Virtual<br />

Gateway address) to send the message. See Alter Source<br />

Host (Virtual Gateway address) Action, page 6-58.<br />

Alter recipient alt-rcpt-to Change a recipient of the message. See Alter Recipient<br />

Action, page 6-57.<br />

Alter mailhost alt-mailhost Change the destination mail host for the message. See<br />

Alter Delivery Host Action, page 6-57.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!