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.

6-70<br />

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

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

message had a zip attachment that contained a JPEG image, the log entry would contain the name of the<br />

zip file rather than the name of the JPEG. Also, if the zip file included multiple images then the log entry<br />

would include the maximum score of all the images. The unscannable notation indicates whether any of<br />

the images were unscannable.<br />

The log does not contain information about how the scores translate to a particular verdict (clean, suspect<br />

or inappropriate). However, because you can use mail logs to track the delivery of specific messages,<br />

you can determine by the actions performed on the messages whether the mail contained inappropriate<br />

or suspect images.<br />

For example, the following mail log shows attachments dropped by message filter rules as a result of<br />

Image Analysis scanning:<br />

Thu Apr 3 08:17:56 2009 Debug: MID 154 <strong>IronPort</strong> Image Analysis: image 'Unscannable.jpg'<br />

is unscannable.<br />

Thu Apr 3 08:17:56 2009 Info: MID 154 <strong>IronPort</strong> Image Analysis: attachment<br />

'Unscannable.jpg' score 0 unscannable<br />

Thu Apr 3 08:17:56 2009 Info: MID 6 rewritten to MID 7 by<br />

drop-attachments-where-image-verdict filter 'f-001'<br />

Thu Apr 3 08:17:56 2009 Info: Message finished MID 6 done<br />

Using the Image Analysis Message Filter<br />

Once you enable image analysis, you must create a message filter to perform different actions for<br />

different message verdicts. For example, you may wish to deliver messages with a clean verdict, but<br />

quarantine messages that are determined to have inappropriate content.<br />

Note Cisco recommends you do not drop or bounce messages with inappropriate or suspect verdicts. Instead,<br />

send copies of violations to a quarantine for later review and better understanding of trend analysis.<br />

The following filter shows messages tagged if the content is inappropriate or suspect:<br />

image_analysis: if image-verdict == "inappropriate" {<br />

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

insert-header("Subject", "[inappropriate image] $Subject");<br />

}<br />

else {<br />

if image-verdict == "suspect" {<br />

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

insert-header("Subject", "[suspect image] $Subject");<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!