Cisco Cisco Email Security Appliance C160 Mode D'Emploi

Page de 1093
 
9-78
Cisco AsyncOS 8.0.2 for Email User Guide
 
Chapter 9      Using Message Filters to Enforce Email Policies 
  Using the CLI to Manage Message Filters
Activating and Deactivating a Message Filter
A given message filter is either active or inactive and it is also either valid or invalid. A message filter 
is only used for processing if it is both active and valid. You change an existing filter from active to 
inactive (and back again) via the CLI. A filter is invalid if it refers to a listener or interface which does 
not exist (or has been removed).
Note
You can determine if a filter is inactive by its syntax; AsyncOS changes the colon after the filter name 
to an exclamation point for inactive filters. If you use this syntax when entering or importing a filter, 
AsyncOS marks the filter as inactive.
For example, the following benign filter named “filterstatus” is entered. It is then made inactive using 
the 
filter -> set
 subcommand. Note that when the details of the filter are shown, the colon has been 
changed to an exclamation point (and is bold in the following example).
mail3.example.com> filters
Choose the operation you want to perform:
- NEW - Create a new filter.
- IMPORT - Import a filter script from a file.
[]> new
Enter filter script.  Enter '.' on its own line to end.
filterstatus: if true{skip-filters();}
.
1 filters added.
Choose the operation you want to perform:
- NEW - Create a new filter.
- DELETE - Remove a filter.
- IMPORT - Import a filter script from a file.
- EXPORT - Export filters to a file
- MOVE - Move a filter to a different position.
- SET - Set a filter attribute.
- LIST - List the filters.