Technical References
3-196
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
Policy Enforcement
Creating an Incoming Mail Policy to Drop Spam Messages and Archive Suspected Spam Messages
In this example, the policyconfig -> edit -> antispam subcommand is used to edit the Anti-Spam
settings for the default incoming mail policy. (Note that this same configuration is available in the GUI
from the Email Security Manager feature.)
• First, messages positively identified as spam are chosen not to be archived; they will be dropped.
• Messages that are suspected to be spam are chosen to be archived. They will also be sent to the Spam
Quarantine installed on the server named
quarantine.example.com. The text [quarantined:
possible spam]
is prepended to the subject line and a special header of X-quarantined: true is
configured to be added to these suspect messages. In this scenario, Administrators and end-users can
check the quarantine for false positives, and an administrator can adjust, if necessary, the suspected
spam threshold.
Finally, the changes are committed.
mail3.example.com> policyconfig
Would you like to configure Incoming or Outgoing Mail Policies?
1. Incoming
2. Outgoing
[1]> 1
Incoming Mail Policy Configuration
Choose the operation you want to perform:
- NEW - Create a new policy
- EDIT - Edit an existing policy
- PRINT - Print all policies
- FILTERS - Edit content filters
[]> edit
Enter the name or number of the entry you wish to edit:
[]> 1
Policy Summaries:
Anti-Spam: IronPort - Deliver, Prepend "[SPAM] " to Subject
Suspect-Spam: IronPort - Deliver, Prepend "[SUSPECTED SPAM] " to Subject
Anti-Virus: Off
Content Filters: Off (No content filters have been created)
Choose the operation you want to perform:
- ANTISPAM - Modify Anti-Spam policy
- ANTIVIRUS - Modify Anti-Virus policy
Name:
-----
Anti-Spam:
----------
Anti-Virus:
----------
Advanced
Malware
Protection:
----------
Graymail:
----------
Content
Filter:
----------
Outbreak
Filters:
-----------
DEFAULT Ironport Mcafee N/A Off Off Enabled
Name:
-----
Anti-Spam:
----------
Anti-Virus:
----------
Advanced
Malware
Protection:
----------
Graymail:
----------
Content
Filter:
----------
Outbreak
Filters:
-----------
1. DEFAULT Ironport Mcafee N/A N/A Off Enabled