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.

Single Injector Filter<br />

6-102<br />

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

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

Make the filter work on a single listener. For example, specify a specific listener for message filter<br />

processing instead of being performed system wide.<br />

textfilter-new:<br />

if (recv-inj == 'inbound' and body-contains("some spammy message")) {<br />

}<br />

Drop Spoofed Domain Filter (Single Listener)<br />

Drop email with a spoofed domain (pretending to be from an internal address; works with a single<br />

listener). IP addresses below represent fictional domain for mycompany.com:<br />

Drop Spoofed Domain Filter (Multiple Listeners)<br />

As above, but works with multiple listeners:<br />

Another Drop Spoofed Domain Filter<br />

alt-rcpt-to ("spam.quarantine@spam.example.com");<br />

DomainSpoofed:<br />

if (mail-from == "mycompany\\.com$") {<br />

}<br />

if ((remote-ip != "1.2.") AND (remote-ip != "3.4.")) {<br />

}<br />

drop();<br />

domain_spoof:<br />

if ((recv-listener == "Inbound") and (mail-from == "@mycompany\\.com")) {<br />

archive('domain_spoof');<br />

drop ();<br />

}<br />

Summary: Anti domain spoof filter:<br />

reject_domain_spoof:<br />

if (recv-listener == "MailListener") {<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!