Seth Woolley's Man Viewer

trivial-rewrite(8) - trivial-rewrite - Postfix address rewriting and resolving daemon - man 8 trivial-rewrite

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

TRIVIAL-REWRITE(8)                                          TRIVIAL-REWRITE(8)

       trivial-rewrite - Postfix address rewriting and resolving daemon

       trivial-rewrite [generic Postfix daemon options]

       The  trivial-rewrite(8)  daemon processes three types of client service

       rewrite context address
              Rewrite an address to standard form, according  to  the  address
              rewriting context:

              local  Append  the  domain  names  specified  with  $myorigin or
                     $mydomain to incomplete addresses; do  swap_bangpath  and
                     allow_percent_hack  processing  as  described  below, and
                     strip source routed  addresses  (@site,@site:user@domain)
                     to user@domain form.

              remote Append  the domain name specified with $remote_header_re-
                     write_domain  to  incomplete  addresses.  Otherwise   the
                     result  is identical to that of the local address rewrit-
                     ing context. This prevents  Postfix  from  appending  the
                     local  domain to spam from poorly written remote clients.

       resolve address
              Resolve an address to a (transport, nexthop,  recipient,  flags)
              quadruple. The meaning of the results is as follows:

                     The  delivery agent to use. This is the first field of an
                     entry in(1,8) the file.

                     The host(1,5) to send(2,n) to and optional delivery method informa-

                     The  envelope recipient address that is passed on to nex-

              flags  The address class, whether the address requires relaying,
                     whether the address has problems, and whether the request

       verify(1,8) address
              Resolve an address for address verification purposes.

       The trivial-rewrite(8) servers run under control by the Postfix  master(5,8)
       server.   Each  server  can  handle  multiple simultaneous connections.
       When all servers are busy while a client connects, the master(5,8) creates a
       new  server  process,  provided that the trivial-rewrite server process
       limit is not exceeded.  Each trivial-rewrite  server  terminates  after
       serving  at  least  $max_use clients of after $max_idle seconds of idle

       None. The command does not interact with the outside world.

       The trivial-rewrite(8) 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(1,8) a chrooted environment.

       Problems and transactions are logged to syslogd(8).

       On busy mail(1,8) systems a long time(1,2,n)  may  pass  before  a  change
       affecting  trivial-rewrite(8)  is  picked  up. Use the command "postfix
       reload" to speed up a change.

       The text below provides only a parameter summary. See  postconf(1,5)(5)  for
       more details including examples.

       resolve_dequoted_address (yes)
              Resolve  a  recipient  address  safely  instead of correctly, by
              looking inside quotes.

       resolve_null_domain (no)
              Resolve an address that ends in(1,8) the "@" null domain  as  if(3,n)  the
              local  hostname were specified, instead of rejecting the address
              as invalid.

       myorigin ($myhostname)
              The domain name that locally-posted mail(1,8) appears to  come  from,
              and that locally posted mail(1,8) is delivered to.

       allow_percent_hack (yes)
              Enable the rewriting of the form "user%domain" to "user@domain".

       append_at_myorigin (yes)
              With locally submitted mail(1,8), append the string(3,n)  "@$myorigin"  to
              mail(1,8) addresses without domain information.

       append_dot_mydomain (yes)
              With  locally  submitted mail(1,8), append the string(3,n) ".$mydomain" to
              addresses that have no ".domain" information.

       recipient_delimiter (empty)
              The  separator  between  user  names  and   address   extensions

       swap_bangpath (yes)
              Enable the rewriting of "site!user" into "user@site".

       Available in(1,8) Postfix 2.2 and later:

       remote_header_rewrite_domain (empty)
              Don't  rewrite  message  headers from remote clients at all when
              this parameter is empty; otherwise, rewrite remote message head-
              ers   and   append  the  specified  domain  name  to  incomplete

       The following is applicable to Postfix version(1,3,5) 2.0 and later.   Earlier
       versions  do  not have support for: virtual_transport, relay_transport,
       virtual_alias_domains, virtual_mailbox_domains or proxy_interfaces.

       local_transport (local:$myhostname)
              The default mail(1,8)  delivery  transport  for  domains  that  match
              $mydestination, $inet_interfaces or $proxy_interfaces.

       virtual_transport (virtual(5,8))
              The  default  mail(1,8) delivery transport for domains that match the
              $virtual_mailbox_domains parameter value.

       relay_transport (relay)
              The default mail(1,8) delivery transport and next-hop information for
              domains that match the $relay_domains parameter value.

       default_transport (smtp)
              The  default  mail(1,8)  delivery  transport  for domains that do not
              match $mydestination, $inet_interfaces, $proxy_interfaces, $vir-
              tual_alias_domains, $virtual_mailbox_domains, or $relay_domains.

       parent_domain_matches_subdomains (see 'postconf(1,5) -d' output)
              What Postfix features match subdomains of "domain.tld" automati-
              cally, instead of requiring an explicit ".domain.tld" pattern.

       relayhost (empty)
              The  default  host(1,5)  to  send(2,n)  non-local mail(1,8) to when no entry is
              matched in(1,8) the optional transport(5) table.

       transport_maps (empty)
              Optional lookup tables with mappings from recipient  address  to
              (message delivery transport, next-hop destination).

       Postfix  version(1,3,5)  2.1 introduces sender and recipient address verifica-
       tion.  This feature is implemented by sending probe email messages that
       are  not  actually  delivered.  By default, address verification probes
       use the same route as regular mail. To  override  specific  aspects  of
       message routing for address verification probes, specify one or more of
       the following:

       address_verify_local_transport ($local_transport)
              Overrides the local_transport parameter setting for address ver-
              ification probes.

       address_verify_virtual_transport ($virtual_transport)
              Overrides  the  virtual_transport  parameter setting for address
              verification probes.

       address_verify_relay_transport ($relay_transport)
              Overrides the relay_transport parameter setting for address ver-
              ification probes.

       address_verify_default_transport ($default_transport)
              Overrides  the  default_transport  parameter setting for address
              verification probes.

       address_verify_relayhost ($relayhost)
              Overrides the relayhost parameter setting for address  verifica-
              tion probes.

       address_verify_transport_maps ($transport_maps)
              Overrides the transport_maps parameter setting for address veri-
              fication probes.

       config_directory (see 'postconf(1,5) -d' output)
              The default location of the Postfix and  con-
              figuration files.

       daemon_timeout (18000s)
              How  much  time(1,2,n)  a  Postfix  daemon process may take to handle a
              request before it is terminated by a built-in watchdog(5,8) timer.

       empty_address_recipient (MAILER-DAEMON)
              The recipient of mail(1,8) addressed to the null address.

       ipc_timeout (3600s)
              The time(1,2,n) limit for sending  or  receiving  information  over  an
              internal communication channel.

       max_idle (100s)
              The  maximum  amount of time(1,2,n) that an idle Postfix daemon process
              waits for the next service request before exiting.

       max_use (100)
              The maximal number of connection requests before a Postfix  dae-
              mon process terminates.

       relocated_maps (empty)
              Optional lookup tables with new contact information for users(1,5) or
              domains that no longer exist.

       process_id (read-only)
              The process ID of a Postfix command or daemon process.

       process_name (read-only)
              The process name of a Postfix command or daemon process.

       queue_directory (see 'postconf(1,5) -d' output)
              The location of the Postfix top-level queue(1,3) directory.

       show_user_unknown_table_name (yes)
              Display the name of the recipient table in(1,8)  the  "User  unknown"

       syslog_facility (mail(1,8))
              The syslog(2,3,5,3 Sys::Syslog) facility of Postfix logging.

       syslog_name (postfix)
              The  mail(1,8)  system  name that is prepended to the process name in(1,8)
              syslog(2,3,5,3 Sys::Syslog) records, so that "smtpd"  becomes,  for  example,  "post-

       Available in(1,8) Postfix version(1,3,5) 2.0 and later:

       helpful_warnings (yes)
              Log  warnings about problematic configuration settings, and pro-
              vide helpful suggestions.

       postconf(1,5)(5), configuration parameters
       transport(5), transport table format
       relocated(5), format of the "user has moved" table
       master(5,8)(8), process manager
       syslogd(8), system logging

       Use "postconf(1,5) readme_directory" or "postconf(1,5) html_directory" to  locate
       this information.
       ADDRESS_CLASS_README, Postfix address classes howto
       ADDRESS_VERIFICATION_README, Postfix address verification

       The Secure Mailer license must be distributed with this software.

       Wietse Venema
       IBM T.J. Watson Research
       P.O. Box 704
       Yorktown Heights, NY 10598, USA


References for this manual (incoming links)