Cisco Cisco Email Security Appliance C650 Referencia técnica
413
Cisco AsyncOS 8.5.5 CLI Reference Guide
Chapter 3 The Commands: Reference Examples
SMTP Services Configuration
Example - Customizing the Host Acess Table (HAT ) for a listener via Export and Import
Many of the subcommands within the
listenerconfig
command allow you to import and export data in
order to make large configuration changes without having to enter data piecemeal in the CLI.
These steps use the CLI to modify the Host Access Table (HAT) of a listener by exporting, modifying,
and importing a file. You can also use the HAT CLI editor or the GUI to customize the HAT for a listener.
For more information, see the “Configuring the Gateway to Receive Mail” and “Using Mail Flow
Monitor” chapters in the user guide for your AsyncOS release.
and importing a file. You can also use the HAT CLI editor or the GUI to customize the HAT for a listener.
For more information, see the “Configuring the Gateway to Receive Mail” and “Using Mail Flow
Monitor” chapters in the user guide for your AsyncOS release.
To customize a HAT for a listener you have defined via export and import:
Step 1
Use the
hostaccess -> export
subcommands of
listenerconfig
to export the default HAT to a file.
In the following example, the HAT for the public listener InboundMail is printed, and then exported to
a file named
a file named
inbound.HAT.txt
Listener OutboundMail created.
Defaults have been set for a Private listener.
Use the listenerconfig->EDIT command to customize the listener.
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.
[]>
Table 3-170
listenerconfig - Adding a listener (Continued)
Table 3-171
listenerconfig
- Exporting the HAT
mail3.example.com> listenerconfig