Cisco Cisco Email Security Appliance C370 User Guide

Page of 568
6-61
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
Chapter 6      Using Message Filters to Enforce Email Policies
The following example notifies an administrator if the signer is not from 
example.com:
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:
NotOurSigners: if signed-certificate("signer") AND
      signed-certificate("signer") != "example\\.com$" {
    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?");
}