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 Filter Order<br />

6-4<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 filter order. Message filters are maintained in an ordered list. When a message is<br />

processed, AsyncOS applies each message filter in the order it appears in the list. If a final action<br />

occurs, no further action is taken on the message. For more information, see Message Filter Order,<br />

page 6-4.<br />

Prior processing. Actions performed on AsyncOS messages may add or remove headers before the<br />

message filter is evaluated. AsyncOS processes the message filter process on the headers that are<br />

present in the message at the time of processing. For more information, see Message Header Rules<br />

and Evaluation, page 6-4.<br />

The MIME structure of the message. The MIME structure of the message determines which part<br />

of the message is treated as “body,” and which part of the message is treated as an “attachment”.<br />

Many message filters are configured to act on just the body or just the attachment part of the<br />

message. For more information, see Message Bodies vs. Message Attachments, page 6-5.<br />

The threshold score configured for the regular expression. When you match a regular expression,<br />

you configure a “score” to tally up the number of times a match must occur before a filter action is<br />

taken. This allows you to “weight” the responses to different terms. For more information, see<br />

Thresholds for Matches in Content Scanning, page 6-6.<br />

The structure of the query. When evaluating AND or OR tests within message filters, AsyncOS<br />

does not evaluate unneeded tests. In addition, it is important to note that the system does not evaluate<br />

the tests from left to right. Instead, when AND and OR tests are evaluated, the least expensive test<br />

is evaluated first. For more information, see AND Test and OR Tests in Message Filters, page 6-8.<br />

Message filters are kept in an ordered list and numbered by their position in the list. When a message is<br />

processed, the message filters are applied in the associated numeric order. Therefore, filter number 30<br />

will not have a chance to alter the source host of a message if filter number 9 has already executed a final<br />

action on (for example, bounced) the message. The position of a filter in the list can be changed via the<br />

system user interfaces. Filters imported via a file are ordered based on their relative order in the imported<br />

file.<br />

After a final action, no further actions may be taken on the message.<br />

Although a message may match a filter rule, the filter may not act upon that message for any of the<br />

following reasons:<br />

The filter is inactive.<br />

The filter is invalid.<br />

The filter has been superseded by an earlier filter that executed a final action for the message.<br />

Message Header Rules and Evaluation<br />

Filters evaluate “processed” headers rather than the original message headers when applying header<br />

rules. Thus:<br />

If a header was added by a previous processing action, it can now be matched by any subsequent<br />

header rule.<br />

If a header was stripped by a previous processing action, it can no longer be matched by any<br />

subsequent header rule.<br />

OL-25137-01

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

Saved successfully!

Ooh no, something went wrong!