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.

SPF-Passed Rule<br />

6-36<br />

} else {<br />

}<br />

if(spf-status("pra") == "SoftFail"){<br />

}<br />

if (spf-status("mailfrom") == "Fail"<br />

}<br />

or spf-status("mailfrom") == "SoftFail"){<br />

# malicious mail, but tempting<br />

quarantine("Policy");<br />

stamp-mail-with-spf-verification-error:<br />

.<br />

if (spf-status("pra") == "PermError, TempError"<br />

or spf-status("mailfrom") == "PermError, TempError"<br />

or spf-status("helo") == "PermError, TempError"){<br />

# permanent error - stamp message subject<br />

strip-header("Subject");<br />

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

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

insert-header("Subject", "[POTENTIAL PHISHING] $Subject"); }<br />

The following example shows an spf-passed rule used to quarantine emails that are not marked as<br />

spf-passed:<br />

quarantine-spf-unauthorized-mail:<br />

if (not spf-passed) {<br />

}<br />

quarantine("Policy");<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!