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.

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

Message Filter Examples<br />

OL-25137-01<br />

This section contains some real world examples of filters with a brief discussion of each.<br />

Open-Relay Prevention Filter<br />

This filter bounces messages with addresses using %, extra @, and ! characters in email addresses:<br />

user%otherdomain@validdomain<br />

user@otherdomain@validdomain:<br />

domain!user@validdomain<br />

sourceRouted:<br />

Cisco <strong>IronPort</strong> appliances are not susceptible to these third party relay hacks that are often used to<br />

exploit traditional Sendmail/Qmail systems. As many of these symbols (for example %) can be part of a<br />

perfectly legal email address, Cisco <strong>IronPort</strong> appliances will accept these as valid addresses, verify them<br />

against the configured recipient lists, and pass them on to the next internal server. Cisco <strong>IronPort</strong><br />

appliances do not relay these messages to the world.<br />

These filters are put in place to protect users who may have open-source MTAs that are misconfigured<br />

to allow relay of these types of messages.<br />

Note You can also configure a listener to handle these types of addresses. See SMTP Address Parsing Options,<br />

page 1-8 for more information.<br />

Policy Enforcement Filters<br />

Notify Based on Subject Filter<br />

if (rcpt-to == "(%|@|!)(.*)@") {<br />

}<br />

bounce();<br />

This filter sends notification based on whether the subject contains specific words:<br />

search_for_sensitive_content:<br />

if (Subject == "(?i)plaintiff|lawsuit|judge" ) {<br />

}<br />

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

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

6-97

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

Saved successfully!

Ooh no, something went wrong!