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.

Thresholds for Matches in Content Scanning<br />

Threshold Syntax<br />

6-6<br />

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

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

When you add filter rules that search for patterns in the message body or attachments, you can specify<br />

the minimum threshold for the number of times the pattern must be found. When AsyncOS scans the<br />

message, it totals the “score” for the number of matches it finds in the message and attachments. If the<br />

minimum threshold is not met, the regular expression does not evaluate to true. You can specify this<br />

threshold for the following filter rules:<br />

body-contains<br />

only-body-contains<br />

attachment-contains<br />

every-attachment-contains<br />

dictionary-match<br />

attachment-dictionary-match<br />

You can also specify a threshold value for the drop-attachments-where-contains action.<br />

Note You cannot specify thresholds for filter rules that scan headers or envelope recipients and senders.<br />

To specify a threshold for the minimum number of occurrences, specify the pattern and the minimum<br />

number of matches required to evaluate to true:<br />

if(('',)){<br />

For example, to specify that the body-contains filter rule must find the value “Company Confidential”<br />

at least two times, use the following syntax:<br />

if(body-contains('Company Confidential',2)){<br />

By defeat, when AsyncOS saves a content scanning filter, it compiles the filter and assigns a threshold<br />

value of 1, if you have not assigned a value.<br />

You can also specify a minimum number of pattern matches for values in a content dictionary. For more<br />

information about content dictionaries, see the “Text Resources” chapter in the Cisco <strong>IronPort</strong> AsyncOS<br />

for Email Configuration Guide.<br />

Threshold Scoring for Message Bodies and Attachments<br />

An email message may be composed of multiple parts. When you specify threshold values for filter rules<br />

that search for patterns in the message body or attachments, AsyncOS counts the number of matches in<br />

the message parts and attachments to determine the threshold “score.” Unless the message filter specifies<br />

a specific MIME part (such as the attachment-contains filter rule), AsyncOS will total the matches<br />

found in all parts of the message to determine if the matches total the threshold value. For example, you<br />

have a body-contains message filter with a threshold of 2. You receive a message in which the body<br />

contains one match, and the attachment contains one match. When AsyncOS scores this message, it<br />

totals the two matches and determines that the threshold score has been met.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!