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.

Message Filters for Scanning Attachments<br />

6-66<br />

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

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

The message filter actions described in Table 6-8 are non-final actions. (Attachments are dropped and<br />

the message processing continues.)<br />

The optional comment is text that is added to the message, much like a footer, and it can contain Message<br />

Filter Action Variables (see Examples of Attachment Scanning Message Filters, page 6-72).<br />

Table 6-8 Message Filter Actions for Attachment Filtering<br />

Action Syntax Description<br />

Drop Attachments<br />

by Name<br />

Drop Attachments<br />

by Type<br />

Drop Attachments<br />

by File Type<br />

Drop Attachments<br />

by MIME Type<br />

Drop Attachments<br />

by Size<br />

Attachment<br />

Scanning<br />

Drop Attachments<br />

by Dictionary<br />

Matches<br />

drop-attachments-by-name<br />

([,<br />

])<br />

drop-attachments-by-type<br />

([, ])<br />

drop-attachments-by-filetype<br />

([,<br />

])<br />

drop-attachments-by-mimetype<br />

([, ])<br />

drop-attachments-by-size<br />

([, ])<br />

drop-attachments-where-contai<br />

ns ([,<br />

])<br />

drop-attachments-where-dictio<br />

nary-match()<br />

Drops all attachments on messages that have a<br />

filename that matches the given regular<br />

expression. Archive file attachments (zip, tar)<br />

will be dropped if they contain a file that<br />

matches. See Examples of Attachment<br />

Scanning Message Filters, page 6-72.<br />

Drops all attachments on messages that have a<br />

MIME type, determined by either the given<br />

MIME type or the file extension. Archive file<br />

attachments (zip, tar) will be dropped if they<br />

contain a file that matches.<br />

Drops all attachments on messages that match<br />

the given “fingerprint” of the file. Archive file<br />

attachments (zip, tar) will be dropped if they<br />

contain a file that matches. For more<br />

information, see Table 6-6Attachment Groups,<br />

page 6-46.<br />

Drops all attachments on messages that have a<br />

given MIME type. This action does not attempt<br />

to ascertain the MIME type by file extension<br />

and so it also does not examine the contents of<br />

archives.<br />

Drops all attachments on the message that, in<br />

raw encoded form, are equal to or greater than<br />

the size (in bytes) given. Note that for archive<br />

or compressed files, this action does not<br />

examine the uncompressed size, but rather the<br />

size of the actual attachment itself.<br />

Drops all attachments on message that contain<br />

the regular expression. Archive files (zip, tar)<br />

will be dropped if any of the files they contain<br />

match the regular expression pattern.<br />

This filter action strips attachments based on<br />

matches to dictionary terms. If the terms in the<br />

MIME parts considered to be an attachment<br />

match a dictionary term (and the user-defined<br />

threshold is met), the attachment is stripped<br />

from the email. See Examples of Attachment<br />

Scanning Message Filters, page 6-72.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!