Cisco Cisco Email Security Appliance C160 Références techniques

Page de 566
 
Chapter 
318
Cisco IronPort AsyncOS 7.5 CLI Reference Guide
OL-23407-01
filters
Description
Configure message processing options.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format
Example
In this example, the 
filter
 command is used to create three new filters:
  •
The first filter is named 
big_messages
. It uses the 
body-size
 rule to drop 
messages larger than 10 megabytes. 
  •
The second filter is named 
no_mp3s
. It uses the 
attachment-filename
 rule to 
drop messages that contain attachments with the filename extension of 
.mp3
  •
The third filter is named 
mailfrompm
. It uses 
mail-from
 rule examines all 
mail from 
postmaster@example.com
 and blind-carbon copies 
administrator@example.com
Using the 
filter -> list
 subcommand, the filters are listed to confirm that they 
are active and valid, and then the first and last filters are switched in position using 
the 
move
 subcommand. Finally, the changes are committed so that the filters take 
effect.
Table 3-130
filters
  
mail3.example.com> filters
Choose the operation you want to perform:
- NEW - Create a new filter.