Cisco Cisco Email Security Appliance C170 Referências técnicas

Página de 316
170
C I S C O   I R O N P O R T   A S Y N C O S   7 . 3   C L I   R E F E R E N C E   G U I D E
• Clear a listing of SMTP routes
• Print a listing of SMTP routes
• Import a listing of SMTP routes
• Export a listing of SMTP routes
Example
In the following example, the 
smptroutes
 command is used to construct a route (mapping) 
for the domain 
example.com
 to 
relay1.example.com
relay2.example.com
, and 
backup-relay.example.com
. Use 
/pri=#
 to specify a destination priority.  THE # should 
be from 0-65535, with larger numbers indicating decreasing priority. If unspecified, the 
priority defaults to 0.
(Note that you may have constructed the same mapping during the 
systemsetup
 command 
when you configured the InboundMail public listener.) 
smtproutes clear
smtproutes print
smtproutes import <filenames>
smtproutes export <filenames>
Code Example 3-113 smtproutes
mail3.example.com> smtproutes
There are no routes configured.
Choose the operation you want to perform:
- NEW - Create a new route.
- IMPORT - Import new routes from a file.
[]> new
Enter the domain for which you want to set up a permanent route.
Partial hostnames such as ".example.com" are allowed.
Use "ALL" for the default route.
[]> example.com
Enter the destination hosts, separated by commas, which you want mail 
for example.com to be delivered.
Enter USEDNS by itself to use normal DNS resolution for this route.
Enter /dev/null by itself if you wish to discard the mail.
Enclose in square brackets to force resolution via address (A)
records, ignoring any MX records.