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.

TRANSPORT(5)<br />

TRANSPORT(5)<br />

Page 1 of 3<br />

NAME<br />

transport - format of <strong>Postfix</strong> transport table<br />

SYNOPSIS<br />

postmap /etc/postfix/transport<br />

DESCRIPTION<br />

The optional transport table specifies a mapping from<br />

domain hierarchies to message delivery transports and/or<br />

relay hosts. The mapping is used by the trivial-rewrite(8)<br />

daemon.<br />

Normally, the transport table is specified as a text file<br />

that serves as input to the postmap(1) command. The<br />

result, an indexed file in dbm or db format, is used for<br />

fast searching by the mail system. Execute the command<br />

postmap /etc/postfix/transport in order to rebuild the<br />

indexed file after changing the transport table.<br />

When the table is provided via other means such as NIS,<br />

LDAP or SQL, the same lookups are done as for ordinary<br />

indexed files.<br />

Alternatively, the table can be provided as a regularexpression<br />

map where patterns are given as regular expressions.<br />

In that case, the lookups are done in a slightly<br />

different way as described below.<br />

TABLE FORMAT<br />

The format of the transport table is as follows:<br />

blanks and comments<br />

Blank lines are ignored, as are lines beginning<br />

with `#'.<br />

leading whitespace<br />

Lines that begin with whitespace continue the previous<br />

line.<br />

pattern result<br />

When pattern matches the domain, use the corresponding<br />

result.<br />

With lookups from indexed files such as DB or DBM, or from<br />

networked tables such as NIS, LDAP or SQL, patterns are<br />

tried in the order as listed below:<br />

domain transport:nexthop<br />

Mail for domain is delivered through transport to<br />

nexthop.<br />

.domain transport:nexthop<br />

Mail for any subdomain of domain<br />

through transport to nexthop.<br />

is delivered<br />

Note: transport map entries take precedence over domains<br />

specified in the mydestination parameter. If you use the<br />

optional transport map, it may be safer to specify<br />

explicit entries for all domains specified in mydestination,<br />

for example:<br />

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

6/26/01

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

Saved successfully!

Ooh no, something went wrong!