Cisco Cisco Email Security Appliance C170 Mode D'Emploi

Page de 568
Chapter 2      Configuring Routing and Delivery Features
2-40
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
In the following example, the 
domainmap
 subcommand of the 
listenerconfig
 
command is used to create a domain map for the public listener “InboundMail.” 
Mail for the domain and any subdomain of 
oldcompanyname.com
 is mapped to the 
domain 
example.com
. The mapping is then printed for confirmation. Contrast this 
example with the configuration of placing both domains in the listener’s RAT: the 
domain map feature will actually rewrite the Envelope Recipient of 
joe@oldcomapanyname.com
 to 
joe@example.com
, whereas placing the domain 
oldcompanyname.com
 in the listener’s RAT will simply accept the message for 
joe@oldcompanyname.com
 and route it without rewriting the Envelope Recipient. 
Also, contrast this example with the alias table feature. Alias tables must resolve 
to an explicit address; they cannot be constructed to map “any username
@domain
” 
to 
 
the same username
@newdomain
.”
mail3.example.com> listenerconfig
Currently configured listeners:
1. Inboundmail (on PublicNet, 192.168.2.1) SMTP TCP Port 25 Public
2. Outboundmail (on PrivateNet, 192.168.1.1) SMTP TCP Port 25 Private
Choose the operation you want to perform:
- NEW - Create a new listener.
- EDIT - Modify a listener.
- DELETE - Remove a listener.
- SETUP - Change global settings.
[]> edit
Enter the name or number of the listener you wish to edit.