Technical References
248
Cisco AsyncOS 9.1 for Email 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.
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>
Ta b l e 3 - 1 7 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.”