Cisco Cisco Email Security Appliance C680 Technical References

Page of 314
 
197
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Policy Enforcement
- CLEAR - Clear all file extensions
[]>
Incoming Mail Policy Configuration
Name:           Anti-Spam:     Anti-Virus: Content Filter: Outbreak Filters:
-----           -------------  ----------- --------------- ----------------
sales_team      IronPort       Default     Default         Default
engineering     Default        Default     Default         Enabled
DEFAULT         IronPort       McAfee      Off             Enabled
Choose the operation you want to perform:
- NEW - Create a new policy
- EDIT - Edit an existing policy
- DELETE - Remove a policy
- PRINT - Print all policies
- SEARCH - Search for a policy by member
- MOVE - Move the position of a policy
- FILTERS - Edit content filters
- CLEAR - Clear all policies
[]>
Next, create three new content filters to be used in the Incoming Mail Overview policy table. 
In the CLI, the 
filters
 subcommand of the 
policyconfig
 command is the equivalent of the Incoming 
Content Filters GUI page. When you create content filters in the CLI, you must use the 
save
 
subcommand to save the filter and return to the 
policyconfig
 command. 
First, create the 
scan_for_confidential
 content filter:
Creating the 
scan_for_confidential 
Content Filter
Incoming Mail Policy Configuration
Name:           Anti-Spam:     Anti-Virus: Content Filter: Outbreak Filters:
-----           -------------  ----------- --------------- ----------------
sales_team      IronPort       Default     Default         Default
engineering     Default        Default     Default         Enabled
DEFAULT         IronPort       McAfee      Off             Enabled
Choose the operation you want to perform:
- NEW - Create a new policy
- EDIT - Edit an existing policy
- DELETE - Remove a policy
- PRINT - Print all policies
- SEARCH - Search for a policy by member
- MOVE - Move the position of a policy
- FILTERS - Edit content filters
- CLEAR - Clear all policies
[]> filters
No filters defined.
Choose the operation you want to perform:
- NEW - Create a new filter
[]> new
Enter a name for this filter:
[]> scan_for_confidential
Enter a description or comment for this filter (optional):
[]> scan all incoming mail for the string 'confidential'