27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

Examples<br />

OL-25137-01<br />

For example, Alice signs a message with her two certificates. Bob signs the message with his single<br />

certificate. All certificates are issued by a single corporate authority. After the message passes the<br />

S/MIME scan, the extracted data contain three items:<br />

[<br />

]<br />

{<br />

},<br />

{<br />

},<br />

{<br />

}<br />

'issuer': 'CN=Auth,O=Example\, Inc.',<br />

'signer': ['alice@example.com', 'al@private.example.com']<br />

'issuer': 'CN=Auth,O=Example\, Inc.',<br />

'signer': ['alice@example.com', 'al@private.example.com']<br />

'issuer': 'CN=Auth,O=Example\, Inc.',<br />

'signer': ['bob@example.com', 'bob@private.example.com']<br />

The $CertificateSigners variable expands to:<br />

"alice@example.com, al@private.example.com, bob@example.com, bob@private.example.com"<br />

The following example inserts a new header if the certificate issuer is from the US:<br />

Issuer: if signed-certificate("issuer") == "(?i)C=US" {<br />

}<br />

insert-header("X-Test", "US issuer");<br />

The following example notifies an administrator if the signer is not from example.com:<br />

NotOurSigners: if signed-certificate("signer") AND<br />

signed-certificate("signer") != "example\\.com$" {<br />

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

6-41

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

Saved successfully!

Ooh no, something went wrong!