Cisco Cisco Email Security Appliance C650 Guía Del Usuario
Chapter 2 Configuring Routing and Delivery Features
2-26
Cisco IronPort AsyncOS 7.5 for Email Advanced Configuration Guide
OL-25137-01
Sample Masquerading Table for a Private Listener
Importing a Masquerading Table
A traditional sendmail
/etc/mail/genericstable
file can be imported. To
import a
genericstable
to
ensure that you can access the appliance.
Place the
genericstable
file in the configuration directory, and then use the
import
subcommand of the
masquerade
subcommand to upload the file. Use the
commands in this order:
listenerconfig
->
edit
-> injector_number ->
masquerade
->
import
Alternatively, you can use the
export
subcommand to download the existing
configuration. A file (whose name you specify) will be written to the
configuration directory. You can modify this file outside of the CLI and then
import it again.
configuration directory. You can modify this file outside of the CLI and then
import it again.
When you use the
import
subcommand, ensure that the file contains only valid
entries. If there is an invalid entry (for example, a left-hand side with no
right-hand side), the CLI reports syntax errors when you import the file. If there
is a syntax error during import, no mappings in the entire file are imported.
right-hand side), the CLI reports syntax errors when you import the file. If there
is a syntax error during import, no mappings in the entire file are imported.
Remember to issue the
commit
command after you import a
genericstable
file
so that the configuration changes for the listener take effect.
# sample Masquerading file
@.example.com @example.com # Hides local subdomains in the header
sales sales_team@success.com
@techsupport tech_support@biggie.com
user@localdomain user@company.com
ALL @bigsender.com