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

Página de 328
 
3-258
CLI Reference Guide for AsyncOS 10.0 for Cisco Email Security Appliances
 
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.
mail3.example.com> listenerconfig
Currently configured listeners:
1. InboundMail (on PublicNet, 192.168.2.1) SMTP TCP Port 25 Public
Choose the operation you want to perform:
- NEW - Create a new listener.
listenerconfig edit <name> rcptacess export <filename>
listenerconfig edit <name> rcptacess clear <default_access>
Table 3-16
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.”