Cisco Cisco Email Security Appliance C190 Technical References

Page of 314
 
150
Cisco AsyncOS 9.1 for Email CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  Mail Delivery Configuration/Monitoring
Batch Format
The batch format of the 
redirectrecipients
 command can be used to perform all the fuctions of the 
traditional CLI command.
Redirects all mail to another host name or IP address
Example 
The following example redirects all mail to the example2.com host.
mail3.example.com> redirectrecipients
Please enter the hostname or IP address of the machine you want to send all mail to.
[]> example2.com
WARNING: redirecting recipients to a host or IP address that is not prepared to accept 
large volumes of SMTP mail from this host will cause messages to bounce and possibly 
result in the loss of mail.
Are you sure you want to redirect all mail in the queue to "example2.com"? [N]> y
Redirecting messages, please wait.
246 recipients redirected.
resetcounters
Description
Reset all of the counters in the system
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
mail3.example.com> resetcounters
Counters reset: Mon Jan 01 12:00:01 2003
removemessage
Description
Attempts to safely remove a message for a given message ID.
redirectrecipients host <hostname>