Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1212
 
35-34
User Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
Chapter 35      Managing and Monitoring Using the CLI
  Managing the Email Queue
Locating and Archiving Older Messages
Sometimes older messages remain in the queue because they could not be delivered. You may want to 
remove and archive these messages. To do this, use the  
showmessage 
CLI command to to display the 
message for the given message ID. Use the  
oldmessage
 CLI command to display the oldest 
non-quarantine message on the system. You can then  optionally use the  
removemessage 
to safely 
remove the message for the given message ID. This command can only remove messages that are in the 
work queue, retry queue, or a destination queue. If the message is in none of these queues, it cannot be 
removed. 
 You can also use the   
archivemessage[mid]
 CLI command to archive the message for a given message 
ID into an mbox file in the configuration directory. 
You cannot use the 
oldmessage
 command to get the message ID for a message in a quarantine. However, 
if you know the message ID, you can show or archive the specified message. Since the message is not in 
the work queue, retry queue, or a destination queue, you cannot remove the message with the
 
removemessage
 command.
Note
You cannot perform any of these queue management commands on a message in the Cisco Spam 
Quarantine.
Syntax
archivemessage
Syntax
oldmessage
Status:   Operational
Messages: 1243
example.com> archivemessage
Enter the MID to archive and remove.
[0]> 47
 MID 47 has been saved in file oldmessage_47.mbox in the configuration directory
example.com>
example.com> oldmessage
MID 9: 1 hour 5 mins 35 secs old
Received: from example.com ([172.16.0.102])