28.06.2014 Views

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

Postfix Overview - Introduction - SCN Research

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Postfix</strong> Configuration - Address Manipulation<br />

Page 1 of 5<br />

<strong>Postfix</strong> Configuration - Address<br />

Manipulation<br />

Up one level | Basic Configuration | UCE Controls | Rate Controls | Resource Controls | Address Manipulation<br />

<strong>Introduction</strong><br />

Although the initial <strong>Postfix</strong> release has no address rewriting language, it can do quite a bit of address<br />

manipulation via table lookup. While a message flows through the <strong>Postfix</strong> system, its addresses are mangled in<br />

the order described in this document.<br />

Unless indicated otherwise, all parameters described here are in the main.cf file. If you change parameters of a<br />

running <strong>Postfix</strong> system, don't forget to issue a postfix reload command.<br />

All mail:<br />

• Rewrite addresses to standard form<br />

• Canonical address mapping<br />

• Address masquerading<br />

• Virtual address mapping<br />

• Relocated users table<br />

• Mail transport switch<br />

Local delivery:<br />

• Alias database<br />

• Per-user .forward files<br />

• Non-existent users<br />

Rewrite addresses to standard form<br />

Before the cleanup daemon runs an address through any lookup table, it first rewrites the address to the standard<br />

user@fully.qualified.domain form, by sending the address to the trivial-rewrite daemon. The purpose of<br />

rewriting to standard form is to reduce the number of entries needed in lookup tables. The <strong>Postfix</strong> trivial-rewrite<br />

program implements the following hard-coded address manipulations:<br />

Rewrite @hosta,@hostb:user@site to user@site<br />

The source route feature has been deprecated. <strong>Postfix</strong> has no ability to handle such addresses, other than<br />

to strip off the source route.<br />

http://www.porcupine.org/postfix-mirror/rewrite.html<br />

6/26/01

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

Saved successfully!

Ooh no, something went wrong!