User Guide
21-6
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
Chapter 21 Text Resources
Using and Testing the Content Dictionaries Filter Rules
Step 2 Click Export Dictionary.
Step 3 Select the dictionary to export.
Step 4 Enter a file name for the exported dictionary.
This is the name of the file that will be created in the configuration directory on the appliance.
Step 5 Select the location to export to.
Step 6 Select an encoding for the text file.
Step 7 Submit and commit your changes.
Using and Testing the Content Dictionaries Filter Rules
Dictionaries can be used along with the various dictionary-match() message filter rules and with
content filters.
Related Topics
• Dictionary Match Filter Rule, page 21-6
Dictionary Match Filter Rule
The message filter rule named dictionary-match(<dictionary_name>) (and its counterparts) evaluates
to true if the message body contains any of the regular expressions in the content dictionary named
dictionary_name. If that dictionary does not exist, the rule evaluates to false.
Note that the
dictionary-match() rule functions similarly to the body-contains() body scanning rule:
it only scans the body and attachments of messages, and not the headers.
For scanning headers, you can use the appropriate
*-dictionary-match()-type rule (there are rules for
specific headers, such as
subject-dictionary-match() and a more generic rule,
header-dictionary-match(), in which you can specify any header including custom headers). See
“Dictionary Rules” in the “Using Message Filters to Enforce Email Policies” chapter for more
information about dictionary matching.
Table 21-1 Message Filter Rules for Content Dictionaries
Rule Syntax Description
Dictionary Match
dictionary-match(<dictionary
_name>)
Does the message contain a word that
matches all the regular expressions listed in
the named dictionary?