27.11.2012 Views

IronPort - advanced configuration guide

IronPort - advanced configuration guide

IronPort - advanced configuration guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 Configuring Routing and Delivery Features<br />

OL-25137-01<br />

Note The Masquerading feature is configured on a per-listener basis, as opposed to the Alias Tables<br />

functionality, which is configured for the entire system.<br />

Note A listener checks the masquerading table for matches and modifies the recipients while the message is<br />

in the work queue, immediately after LDAP recipient acceptance queries and before LDAP routing<br />

queries. Refer to “Understanding the Email Pipeline” in the Cisco <strong>IronPort</strong> AsyncOS for Email<br />

Configuration Guide.<br />

The Masquerading feature actually rewrites addresses for the Envelope Sender and the To:, From:, and<br />

CC: fields of the email that has been received. You can specify different masquerading parameters for<br />

each listener you create in one of two ways:<br />

Step 1 via a static table of mappings you create, or<br />

Step 2 via an LDAP query.<br />

Masquerading and altsrchost<br />

This section discusses the static table method. The table format is forward-compatible with the<br />

/etc/mail/genericstable feature of a sendmail <strong>configuration</strong> on some Unix systems. See Chapter 3,<br />

“LDAP Queries” for more information on LDAP masquerading queries.<br />

Generally, the masquerading feature rewrites the Envelope Sender, and any subsequent actions to be<br />

performed on the message will be “triggered” from the masqueraded address. However, when you run<br />

the altscrchost command from the CLI, the altsrchost mappings are triggered from the original address<br />

(and not the modified, masqueraded address).<br />

For more information, see Using Virtual Gateway Technology, page 2-59 and Review: Email Pipeline,<br />

page 2-73.<br />

Configuring Static Masquerading Tables<br />

You configure the static masquerading table of mappings by using the edit -> masquerade subcommand<br />

of the listenerconfig command. Alternatively, you can import a file containing the mappings. See<br />

Importing a Masquerading Table, page 2-19. The subcommand creates and maintains a table that maps<br />

input addresses, usernames, and domains to new addresses and domains. See Chapter 3, “LDAP<br />

Queries” for more information on LDAP masquerading queries.<br />

When messages are injected into the system, the table is consulted, and the message is rewritten if a<br />

match in the header is found.<br />

A domain masquerading table is constructed as follows:<br />

Table 2-3 Masquerading Table Syntax<br />

Left-hand Side (LHS) Separator Right-hand Side (RHS)<br />

a list of one or more usernames and/or<br />

domains to match<br />

whitespace (space or tab<br />

character)<br />

the rewritten username and/or<br />

domain<br />

Cisco <strong>IronPort</strong> AsyncOS 7.6 for Email Advanced Configuration Guide<br />

2-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!