Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 1138
 
22-8
Cisco AsyncOS 8.5 for Email User Guide
 
Chapter 22      Configuring Routing and Delivery Features
  Creating Alias Tables
are considered a match. For example, the domain context 
.example.com
 would match 
mars.example.com
 and 
venus.example.com
. Below the domain context is a list of maps, which are 
aliases followed by a list of recipients. A map is constructed as follows:
An alias in the left-hand side can contain the following formats:
You can enter multiple aliases, separated by commas on a single left-hand side line. 
Each recipient in the right-hand side can be a full 
user@domain
 email address, or another alias.
An alias file can contain “global” aliases (aliases that are applied globally instead of to a specific 
domain) with no implied domain, domain contexts within which aliases have one or more implied 
domains, or both.
 “Chains” (or recursive entries) of aliases may be created, but they must end in a full email address.
A special destination of 
/dev/null
 is supported to drop the message in order to be compatible with 
context of a sendmail configuration. If a message is mapped to 
/dev/null
 via an alias table, the dropped counter is increased. (See the “Managing and Monitoring via 
the CLI” chapter.) The recipient is accepted but not enqueued.
Exporting and Importing an Alias Table 
To import an alias table, first see 
 to ensure that you 
can access the appliance. 
Use the 
export
 subcommand of the 
aliasconfig
 command to save any existing alias table. A file (whose 
name you specify) will be written to the 
/configuration
 directory for the listener. You can modify this 
file outside of the CLI and then re-import it. (If you have malformed entries in the file, errors are printed 
when you try to import the file.) 
Place the alias table file in the 
/configuration
 directory, and then use the 
import
 subcommand of the 
aliasconfig
 command to upload the file. 
Comment out lines in the table using a number symbol (#) at the beginning of each line.
Remember to issue the 
commit
 command after you import an alias table file so that the configuration 
changes take effect. 
Deleting Entries from the Alias Table
If you delete entries from the alias table from the command line interface (CLI), you are prompted to 
choose a domain group first. Choose the “ALL (any domain)” entry to see a numbered list of aliases that 
apply to all domains. Then choose the number(s) of the aliases you want to delete. 
Table 22-2
Alias Table Syntax
Left-hand Side (LHS)
Separator 
Right-hand Side (RHS)
a list of one or more aliases to match 
the colon character 
(“
:
”)
a list of one or more recipient 
addresses or aliases
username
Specifies an alias to match. There must be a preceding “domains” attribute 
specified in the table. The lack of this parameter will produce an error. 
user@domain
Specifies an exact email address to match on.