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 />

OL-25137-01<br />

considered protected. Similarly, PDF file that has no open password will not be considered protected,<br />

even though it may restrict copying or printing with a password. The following example shows protected<br />

attachments sent to a policy quarantine:<br />

quarantine_protected:<br />

if attachment-protected<br />

{<br />

quarantine("Policy");<br />

}<br />

Detecting Unprotected Attachments<br />

The attachment-unprotected filter tests whether any attachment in the message is not password<br />

protected. This message filter complements the attachment-protected filter. You might use this filter<br />

on outgoing mail to detect outgoing mail that is unprotected. The following example shows AsyncOS<br />

detecting unprotected attachments on an outgoing listener and quarantining the messages:<br />

quarantine_unprotected:<br />

if attachment-unprotected<br />

{<br />

quarantine("Policy");<br />

}<br />

Using the CLI to Manage Message Filters<br />

You can use the CLI to add, delete, activate and de-activate, import and export, and set logging options<br />

for message filters. The table below shows a summary of the commands and subcommands.<br />

Table 6-9 Message Filters Subcommands<br />

Syntax Description<br />

filters The main command. This command is interactive; it asks you for more information<br />

(for example, new, delete, import).<br />

new Creates a new filter. If no location is given, it is appended to the current sequence.<br />

Otherwise, the filter will be inserted into the specific place in the sequence. For more<br />

information, see Creating a New Message Filter, page 6-76.<br />

delete Deletes a filter by name or by sequence number. For more information, see Deleting<br />

a Message Filter, page 6-77.<br />

move Rearranges the existing filters. For more information, see Moving a Message Filter,<br />

page 6-77.<br />

set Sets filter to active or inactive state. For more information, see Activating and<br />

Deactivating a Message Filter, page 6-77.<br />

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

6-75

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

Saved successfully!

Ooh no, something went wrong!