trivial-rewrite - Postfix address rewriting and resolving
SYNOPSIStrivial-rewrite [generic Postfix daemon options]
The trivial-rewrite daemon processes two types of client
Rewrite an address to standard form. The trivial-rewrite daemon by default appends local domain
information to unqualified addresses, swaps bang
paths to domain form, and strips source routing
information. This process is under control of sev-
eral configuration parameters (see below).
Resolve an address to a (transport, nexthop, recip-ient) triple. The meaning of the results is as fol-
The delivery agent to use. This is the first
field of an entry in the master.cf file.
The host to send to. For local delivery this
is an empty string.
The envelope recipient address that is
passed on to nexthop.
The trivial-rewrite daemon by default only distin-
guishes between local and non-local mail. For finer
control over mail routing, use the optional trans-port(5) lookup table.
This program expects to be run from the master(8) process
None. The command does not interact with the outside
The trivial-rewrite daemon is not security sensitive. By
default, this daemon does not talk to remote or local
users. It can run at a fixed low privilege in a chrooted
Problems and transactions are logged to syslogd(8).
The following main.cf parameters are especially relevant
to this program. See the Postfix main.cf file for syntax
details and for default values. Use the postfixreload
command after a configuration change.
The network interfaces that this mail system
receives mail on. This information is used to
determine if user@[net.work.addr.ess] is local or
List of domains that this machine considers local.
The domain that locally-posted mail appears to come
Rewrite user%domain to user@domain.
Rewrite user to user@$myorigin.
Rewrite user@host to user@host.$mydomain.
Rewrite site!user to user@site.
The default transport to use when no transport is
explicitly given in the transport(5) table.
The default host to send mail to when no entry is
matched in the transport(5) table.
When no relayhost is specified, mail is routed
directly to the destination's mail exchanger.
List of tables with domain to (transport,nexthop)
SEEALSOmaster(8) process manager
syslogd(8) system logging
transport(5) transport table format
The Secure Mailer license must be distributed with this
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA