Technical References

3-132
CLI Reference Guide for AsyncOS 9.7 for Cisco Email Security Appliances
Chapter 3 The Commands: Reference Examples
Mail Delivery Configuration/Monitoring
Cluster Management: This command is restricted to machine mode..
Batch Command: This command does not support a batch format.
Example
In the following example, an older message is archived:
mail3.example.com> archivemessage
Enter the MID to archive.
[0]> 47
MID 47 has been saved in file oldmessage_47.mbox in the configuration
altsrchost
Description
Configure Virtual Gateway(tm) mappings.
Usage
Commit: This command requires a ‘commit’.
Cluster Management: This command can be used in all three machine modes (cluster, group, machine).
Batch Command: This command does not support a batch format.
Example
In the following example, the altsrchost table is printed to show that there are no existing mappings.
Two entries are then created:
Mail from the groupware server host named @exchange.example.com is mapped to the PublicNet
interface.
Mail from the sender IP address of 192.168.35.35 is mapped to the AnotherPublicNet interface.
Finally, the
altsrchost mappings are printed to confirm and the changes are committed.
mail3.example.com> altsrchost
There are currently no mappings configured.
Choose the operation you want to perform:
- NEW - Create a new mapping.
- IMPORT - Load new mappings from a file.
[]> new
Enter the Envelope From address or client IP address for which you want to set up a
Virtual Gateway mapping. Partial addresses such as "@example.com" or "user@" are allowed.
[]> @exchange.example.com
Which interface do you want to send messages for @exchange.example.com from?
1. AnotherPublicNet (192.168.2.2/24: mail4.example.com)
2. Management (192.168.42.42/24: mail3.example.com)