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.

BCC and Scan Mail Sent to Competitors<br />

Block Specific User Filter<br />

Archive and Drop Messages Filter<br />

Large “To:” Header Filter<br />

6-98<br />

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

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

This filter scans and blind copies messages that are sent to competitors. Note that you could use a<br />

dictionary and the header-dictionary-match() rule to specify a more flexible list of competitors (see<br />

Dictionary Rules, page 6-33):<br />

competitorFilter:<br />

if (rcpt-to == '@competitor1.com|@competitor2.com') {<br />

}<br />

bcc-scan('legal@example.com');<br />

Use this filter to block email from a specific address:<br />

block_harrasing_user:<br />

if (mail-from == "ex-employee@hotmail\\.com") {<br />

}<br />

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

drop ();<br />

Log and drop only the messages that have matching filetypes:<br />

drop_attachments:<br />

if (mail-from != "user@example.com") AND (attachment-filename ==<br />

'(?i)\\.(asp|bas|bat|cmd|cpl|exe|hta|ins|isp|js)$')<br />

{<br />

archive("Drop_Attachments");<br />

insert-header("X-Filter", "Dropped by: $FilterName MID: $MID");<br />

drop-attachments-by-name("\\.(asp|bas|bat|cmd|cpl|exe|hta|ins|isp|js)$");<br />

}<br />

Find messages with very large “To” headers.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!