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

Page de 314
 
135
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Mail Delivery Configuration/Monitoring
deleterecipients
Description
Delete messages from the queue
Usage
Commit: This command does not require a ‘commit’.
Cluster Management: This command is restricted to machine mode.
Batch Command: This command does not support a batch format
Example
The appliance gives you various options to delete recipients depending upon the need. The following 
example show deleting recipients by recipient host, deleting by Envelope From Address, and deleting all 
recipients in the queue. 
Delete by Recipient Domain
mail3.example.com> deleterecipients
Please select how you would like to delete messages:
1. By recipient host.
2. By Envelope From address.
3. All.
[1]> 1
Please enter the hostname for the messages you wish to delete.
[]> example.com
Are you sure you want to delete all messages being delivered to "example.com"? [N]> Y
Deleting messages, please wait.
100 messages deleted.
Delete by Envelope From Address
mail3.example.com> deleterecipients
Please select how you would like to delete messages:
1. By recipient host.
2. By Envelope From address.
3. All.
[1]> 2
Please enter the Envelope From address for the messages you wish to delete.
[]> mailadmin@example.com
Are you sure you want to delete all messages with the Envelope From address of 
"mailadmin@example.com"? [N]> Y
Deleting messages, please wait.
100 messages deleted.