Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1211
 
9-45
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
 
Chapter 9      Using Message Filters to Enforce Email Policies
  Message Filter Rules
The following example adds a header if the message has an X.509 certificate:
The following example adds a header if the message’s certificate does not have a signer:
Header Repeats Rule
The Header Repeats rule evaluates to 
true
 if at a given point in time, a specified number of messages:
With same subject are detected in the last one hour.
From same envelope sender are detected in the last one hour.
You can use this rule to detect high volume emails. For example, political campaigns through certain 
websites may send out emails to organizations in high volumes. Anti-spam engines treat such emails as 
clean, and do not stop the delivery of these emails.
The syntax of this rule is 
header-repeats (<target>, <threshold> [, <direction>])
, where:
<target>
 is 
subject
 or 
mail-from
. AsyncOS counts the repetition of values of the target.
<threshold>
 is the number of messages with identical values for a given target, received in the last 
one hour, beyond which the rule evaluates to true.
<direction>
 is 
incoming
outgoing
, or both. If direction is not specified in this rule, incoming or 
outgoing messages are counted for rule evaluation.
Every time when a Header Repeats rule evaluates to 
true
, a System Alert is sent. See 
Note
If the header field includes comma or semi-colon separated values, the rule considers the complete string 
for tracking. This rule ignores messages with empty subject header.
The Header Repeats rule maintains a moving sum of messages with up to one minute’s precision. As a 
result, after the set threshold has reached, there can be a delay of one minute before this rule is triggered.
Related Topics
    notify("admin@example.com");
}
AnyX509: if signed-certificate ("issuer") {
    insert-header("X-Test", "X.509 present");
}
NoSigner: if not signed-certificate ("signer") {
    insert-header("X-Test", "Old X.509?");
}