Cisco Cisco Email Security Appliance C650 Guía Del Usuario
6-76
Cisco IronPort AsyncOS 7.6 for Email Advanced Configuration Guide
OL-25137-01
Chapter 6 Using Message Filters to Enforce Email Policies
Note
You must issue the
commit
command for filters to take effect.
Three types of parameters are:
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
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 (
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.
import
Replaces the current set of filters with a new set stored in a file (in the /configuration
directory of the appliance). For more information, see
directory of the appliance). For more information, see
export
Exports the current set of filters to a file (in the /configuration directory of the
appliance). For more information, see
appliance). For more information, see
.
list
Lists information about a filter or filters. For more information, see
detail
Prints detailed information about a specific filter, including the body of the filter rule
itself. For more information, see
itself. For more information, see
.
logconfig
Enters the logconfig submenu of filters, allowing you to edit the log subscriptions
from
from
archive()
filter actions. For more information, see
.
Table 6-9
Message Filters Subcommands (Continued)
Syntax
Description
Table 6-10
Filter Management Parameters
seqnum
An integer representing a filter based on its position in the list of filters. A seqnum of
2
represents the second filter in the list, for example.
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,
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.