Cisco Cisco Email Security Appliance X1070 Referencia técnica
260
I R O N P O R T A S Y N C O S 7 . 1 C L I R E F E R E N C E G U I D E
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.
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 IronPort AsyncOS User Guide.
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 IronPort AsyncOS User Guide.
To customize a HAT for a listener you have defined via export and import:
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
exported to a file named
inbound.HAT.txt
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.
[]>
Code Example 3-151
listenerconfig
- Exporting the HAT
mail3.example.com> listenerconfig
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.
[]> edit
Enter the name or number of the listener you wish to edit.
[]> 1
Name: InboundMail
Type: Public
Interface: PublicNet (192.168.2.1/24) TCP Port 25
Code Example 3-150 listenerconfig - Adding a listener (Continued)