User Guide
9-88
AsyncOS 9.1.2 for Cisco Email Security Appliances User Guide
Chapter 9 Using Message Filters to Enforce Email Policies
Using the CLI to Manage Message Filters
Related Topics
• Creating a New Message Filter, page 9-88
• Deleting a Message Filter, page 9-89
• Moving a Message Filter, page 9-89
• Activating and Deactivating a Message Filter, page 9-89
• Importing Message Filters, page 9-93
• Exporting Message Filters, page 9-93
• Viewing Non-ASCII Character Sets, page 9-93
• Displaying a Message Filter List, page 9-94
• Displaying Message Filter Details, page 9-94
• Configuring Filter Log Subscriptions, page 9-94
• Changing Message Encoding, page 9-96
• Sample Message Filters, page 9-98
Creating a New Message Filter
new [seqnum|filtname|last]
Specifies the position at which to insert the new filter(s). If omitted, or given the keyword last, the filters
entered in are appended to the list of filters. No gaps in the sequence numbers are allowed; you are not
allowed to enter a seqnum outside the boundaries of the current list. If you enter an unknown filtname,
you are prompted to enter a valid filtname, seqnum, or
last.
After a filter has been entered, you may manually enter the filter script. When you are finished typing,
end the entry by typing a period (
.) on a line by itself.
The following conditions can cause errors:
• Sequence number beyond the current range of sequence numbers.
• Filter with a non-unique filtname.
• Filter with a filtname that is a reserved word.
• Filter with a syntax error.
• Filter with actions referring to non-existent system resources such as interfaces.
filtname
The colloquial name of a filter.
range
A range may be used to represent more than one filter, and appears in the form of X-Y,
where X and Y are the first and last seqnums that identify the extent. For example,
2-4
represents filters in the second, third, and fourth positions. Either X or Y may be left off to
represent an open-ended list. For example,
-4 represents the first four filters, and 2-
represents all filters except the first. You can also use the keyword
all to represents all the
filters in the filter list.
Table 9-10 Filter Management Parameters