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 />

Example Text File with Valid Mappings for the altsrchost Command<br />

OL-25137-01<br />

# Comments to describe the file<br />

@example.com DemoInterface<br />

paul@ PublicInterface<br />

joe@ PublicInterface<br />

192.168.1.5, DemoInterface<br />

steve@example.com PublicNet<br />

The import and export subcommands operate on a line-by-line basis and map either the sender IP<br />

address or the Envelope Sender address line to the interface name. The key must be the first block of<br />

non-space characters followed by the interface name in the second block of non-space characters,<br />

separated by a comma (,) or space ( ). Comment lines start with a number sign (#) and will be ignored.<br />

Adding an altsrchost Mapping through the CLI<br />

In the following example, the altsrchost table is printed to show that there are no existing mappings.<br />

Two entries are then created:<br />

Mail from the groupware server host named @exchange.example.com is mapped to the PublicNet<br />

interface.<br />

Mail from the sender IP address of 192.168.35.35 (for example, the marketing campaign messaging<br />

system) is mapped to the PublicNe2t interface.<br />

Finally, the altsrchost mappings are printed to confirm and the changes are committed.<br />

mail3.example.com> altsrchost<br />

There are currently no mappings configured.<br />

Choose the operation you want to perform:<br />

- NEW - Create a new mapping.<br />

- IMPORT - Load new mappings from a file.<br />

[]> new<br />

Enter the Envelope From address or client IP address for which you want to set up a<br />

Virtual Gateway mapping. Partial addresses such as "@example.com" or "user@" are<br />

allowed.<br />

[]> @exchange.example.com<br />

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

2-65

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

Saved successfully!

Ooh no, something went wrong!