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.

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

Message Filter Rules<br />

OL-25137-01<br />

In a somewhat more complicated example, consider:<br />

The system groups the expression from left to right, so this becomes:<br />

This means the first thing the system does is compare the cost of (test1 AND test2) against the cost of<br />

test3, evaluating the second AND first. If all three tests have the same cost, then test3 will be<br />

performed first because (test1 AND test2) would be twice as expensive.<br />

Each message filter contains a rule that defines the collection of messages that a filter can act upon. You<br />

define the filter rules, and then you define a filter action for messages that return true.<br />

Filter Rules Summary Table<br />

if (test1 AND test2 AND test3) { ... }<br />

if ((test1 AND test2) AND test3) { ... }<br />

Table 6-2 summarizes the rules you can use in message filters.<br />

Table 6-2 Message Filter Rules<br />

Rule Syntax Description<br />

Subject Header subject Does the subject header match a certain pattern?<br />

See Subject Rule, page 6-21.<br />

Body Size body-size Is the body size within some range? See Body<br />

Size Rule, page 6-24.<br />

Envelope Sender mail-from Does the Envelope Sender (i.e., the Envelope<br />

From, ) match a given pattern?<br />

See Envelope Sender Rule, page 6-22.<br />

Envelope Sender in<br />

Group<br />

mail-from-group Is the Envelope Sender (i.e., the Envelope From,<br />

) in a given LDAP group? See<br />

Envelope Sender in Group Rule, page 6-23.<br />

Sender Group sendergroup Which sender group was matched in a listener's<br />

Host Access Table (HAT)? See Sender Group<br />

Rule, page 6-23.<br />

Envelope Recipient rcpt-to Does the Envelope Recipient, (i.e. the Envelope<br />

To, ) match a given pattern? See<br />

Envelope Recipient Rule, page 6-21.<br />

Note: The rcpt-to rule is message-based. If a<br />

message has multiple recipients, only one<br />

recipient has to match the rule for the specified<br />

action to affect the message to all recipients.<br />

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

6-9

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

Saved successfully!

Ooh no, something went wrong!