Cisco Cisco Email Security Appliance C160 Références techniques

Page de 458
 
405
Cisco AsyncOS 8.5 CLI Reference Guide
 
Chapter 3      The Commands: Reference Examples
  SMTP Services Configuration
Exporting a RAT
Clearing the default access
Example - Adding a listener
In the following example, the 
listenerconfig
 command is used to create a new private listener called 
OutboundMail that can be used for the B listener needed in the Enterprise Gateway configuration. (Note: 
you also had the option to add this private listener during the GUI’s System Setup Wizard CLI 
systemsetup
 command.) 
A private listener type is chosen and named OutboundMail. It is specified to run on the PrivateNet IP 
interface, using the SMTP protocol over port 25. The default values for the Host Access Policy for this 
listener are then accepted.
listenerconfig edit <name> rcptacess export <filename>
listenerconfig edit <name> rcptacess clear <default_access>
Table 3-169
listenerconfig 
Argument Values - RAT
Argument
Description
<rat_addr>
Enter the hosts to add. Hosts can be formatted as 
follows:
CIDR addresses (10.1.1.0/24)
Hostname (crm.example.com)
Partial Hostname (.example.com)
Usernames (postmaster@)
Full email addresses (joe@example.com, 
joe@[1.2.3.4]
Note
Separate multiple hosts with commas
<options>
--action
Action to apply to address(es). Either “Accept” or 
“Reject”. Default is “Accept”.
--cust_resp
Specify a custom SMTP response.  “No” or SMTP 
acceptance response string.
--resp_code
Custom SMTP response code. Default is 250 for 
“Accept” actions, 550 for “Reject”.
--bypass_rc
Bypass receiving control. Default is “No”.
--bypass_la
Bypass LDAP Accept query. Either “Yes” or 
“No.”
Table 3-170
listenerconfig - Adding a listener 
mail3.example.com> listenerconfig
Currently configured listeners: