~ubuntu-branches/ubuntu/dapper/postfix/dapper-security

« back to all changes in this revision

Viewing changes to html/trivial-rewrite.8.html

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2005-12-07 15:39:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051207153911-hutf07z6i8ty25z5
Tags: 2.2.6-1
* New upstream.
  - the *SQL clients did not uniformly choose the database host from
    the available pool
  - raise the "policy violation" flag when a client request exceeds
    a concurrency or rate limit.
  - don't do smtpd_end_of_data_restrictions after the transaction
    failed due to, e.g., a write error.
  - two messages could get the same message ID due to a race
    condition. This time window was increased when queue file creation
    was postponed from MAIL FROM until the first accepted RCPT TO.  The
    window is closed again.
  - the queue manager did not write a per-recipient defer logfile record
    when the delivery agent crashed after the initial handshake with the
    queue manager, and before reporting the delivery status to the queue
    manager.
  - moved code around from one place to another to make REDIRECT, FILTER,
    HOLD and DISCARD access(5) table actions work in
    smtpd_end_of_data_restrictions.  PREPEND will not be fixed; it must
    be specified before the message content is received.
* Updated Italian translations.  Closes: #336925
* Swedish translations.  Closes: #339746
* Switch to libdb4.3.  Closes: #336488
* Add Replaces: mail-transport-agent.  Closes: #325624
* Merge changes from ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
5
5
<title> Postfix manual - trivial-rewrite(8) </title>
6
6
</head> <body> <pre>
7
 
TRIVIAL-REWRITE(8)                             TRIVIAL-REWRITE(8)
 
7
TRIVIAL-REWRITE(8)                                          TRIVIAL-REWRITE(8)
8
8
 
9
9
<b>NAME</b>
10
10
       trivial-rewrite  - Postfix address rewriting and resolving
14
14
       <b>trivial-rewrite</b> [generic Postfix daemon options]
15
15
 
16
16
<b>DESCRIPTION</b>
17
 
       The <b>trivial-rewrite</b> daemon processes three types of client
18
 
       service requests:
19
 
 
20
 
       <b>rewrite</b>
21
 
              Rewrite  an  address to standard form. The <b>trivial-</b>
22
 
              <b>rewrite</b> daemon  by  default  appends  local  domain
23
 
              information  to  unqualified  addresses, swaps bang
24
 
              paths to domain form,  and  strips  source  routing
25
 
              information.  This process is under control of sev-
26
 
              eral configuration parameters (see below).
27
 
 
28
 
       <b>resolve</b>
 
17
       The <a href="trivial-rewrite.8.html"><b>trivial-rewrite</b>(8)</a> daemon  processes  three  types  of
 
18
       client service requests:
 
19
 
 
20
       <b>rewrite</b> <i>context address</i>
 
21
              Rewrite  an  address to standard form, according to
 
22
              the address rewriting context:
 
23
 
 
24
              <b>local</b>  Append the domain names specified with <b>$<a href="postconf.5.html#myorigin">myo</a>-</b>
 
25
                     <b><a href="postconf.5.html#myorigin">rigin</a></b>  or <b>$<a href="postconf.5.html#mydomain">mydomain</a></b> to incomplete addresses;
 
26
                     do <b><a href="postconf.5.html#swap_bangpath">swap_bangpath</a></b> and <b><a href="postconf.5.html#allow_percent_hack">allow_percent_hack</a></b> pro-
 
27
                     cessing as described below, and strip source
 
28
                     routed  addresses  (<i>@site,@site:user@domain</i>)
 
29
                     to <i>user@domain</i> form.
 
30
 
 
31
              <b>remote</b> Append   the   domain  name  specified  with
 
32
                     <b>$<a href="postconf.5.html#remote_header_rewrite_domain">remote_header_rewrite_domain</a></b> to  incomplete
 
33
                     addresses. Otherwise the result is identical
 
34
                     to that of the <b>local</b> address rewriting  con-
 
35
                     text.  This  prevents Postfix from appending
 
36
                     the <a href="ADDRESS_CLASS_README.html#local_domain_class">local domain</a> to spam from poorly written
 
37
                     remote clients.
 
38
 
 
39
       <b>resolve</b> <i>address</i>
29
40
              Resolve an address to a (<i>transport</i>, <i>nexthop</i>, <i>recip-</i>
30
 
              <i>ient</i>) triple. The meaning of the results is as fol-
31
 
              lows:
 
41
              <i>ient</i>, <i>flags</i>) quadruple. The meaning of the  results
 
42
              is as follows:
32
43
 
33
44
              <i>transport</i>
34
45
                     The delivery agent to use. This is the first
35
46
                     field of an entry in the <b>master.cf</b> file.
36
47
 
37
48
              <i>nexthop</i>
38
 
                     The  host  to  send to and optional delivery
 
49
                     The host to send to  and  optional  delivery
39
50
                     method information.
40
51
 
41
52
              <i>recipient</i>
42
 
                     The  envelope  recipient  address  that   is
 
53
                     The   envelope  recipient  address  that  is
43
54
                     passed on to <i>nexthop</i>.
44
55
 
45
 
       <b>verify</b> Resolve  an  address  for address verification pur-
 
56
              <i>flags</i>  The  address  class,  whether  the   address
 
57
                     requires  relaying,  whether the address has
 
58
                     problems, and whether the request failed.
 
59
 
 
60
       <b>verify</b> <i>address</i>
 
61
              Resolve an address for  address  verification  pur-
46
62
              poses.
47
63
 
48
64
<b>SERVER PROCESS MANAGEMENT</b>
49
 
       The trivial-rewrite servers run under control by the Post-
50
 
       fix master server.  Each server can handle multiple simul-
51
 
       taneous connections.  When all servers are  busy  while  a
52
 
       client  connects, the master creates a new server process,
53
 
       provided that the trivial-rewrite server process limit  is
54
 
       not  exceeded.   Each  trivial-rewrite  server  terminates
55
 
       after serving at least <b>$<a href="postconf.5.html#max_use">max_use</a></b> clients of after <b>$<a href="postconf.5.html#max_idle">max_idle</a></b>
56
 
       seconds of idle time.
 
65
       The  <a href="trivial-rewrite.8.html"><b>trivial-rewrite</b>(8)</a>  servers  run under control by the
 
66
       Postfix master server.  Each server  can  handle  multiple
 
67
       simultaneous connections.  When all servers are busy while
 
68
       a  client  connects,  the  master  creates  a  new  server
 
69
       process,  provided that the trivial-rewrite server process
 
70
       limit is not exceeded.  Each trivial-rewrite server termi-
 
71
       nates  after  serving  at  least <b>$<a href="postconf.5.html#max_use">max_use</a></b> clients of after
 
72
       <b>$<a href="postconf.5.html#max_idle">max_idle</a></b> seconds of idle time.
57
73
 
58
74
<b>STANDARDS</b>
59
 
       None.  The  command  does  not  interact  with the outside
 
75
       None. The command  does  not  interact  with  the  outside
60
76
       world.
61
77
 
62
78
<b>SECURITY</b>
63
 
       The <b>trivial-rewrite</b> daemon is not security sensitive.   By
64
 
       default,  this  daemon  does  not  talk to remote or local
65
 
       users.  It can run at a fixed low privilege in a  chrooted
 
79
       The  <a href="trivial-rewrite.8.html"><b>trivial-rewrite</b>(8)</a>  daemon is not security sensitive.
 
80
       By default, this daemon does not talk to remote  or  local
 
81
       users.   It can run at a fixed low privilege in a chrooted
66
82
       environment.
67
83
 
68
84
<b>DIAGNOSTICS</b>
70
86
 
71
87
<b>CONFIGURATION PARAMETERS</b>
72
88
       On busy mail systems a long time may pass before a <b>main.cf</b>
73
 
       change affecting trivial_rewrite(8) is picked up. Use  the
 
89
       change  affecting <a href="trivial-rewrite.8.html"><b>trivial-rewrite</b>(8)</a> is picked up. Use the
74
90
       command "<b>postfix reload</b>" to speed up a change.
75
91
 
76
 
       The  text  below  provides  only  a parameter summary. See
77
 
       <a href="postconf.5.html">postconf(5)</a> for more details including examples.
 
92
       The text below provides  only  a  parameter  summary.  See
 
93
       <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including examples.
78
94
 
79
95
<b>COMPATIBILITY CONTROLS</b>
80
96
       <b><a href="postconf.5.html#resolve_dequoted_address">resolve_dequoted_address</a> (yes)</b>
81
 
              Resolve a recipient address safely instead of  cor-
 
97
              Resolve  a recipient address safely instead of cor-
82
98
              rectly, by looking inside quotes.
83
99
 
84
100
       <b><a href="postconf.5.html#resolve_null_domain">resolve_null_domain</a> (no)</b>
88
104
 
89
105
<b>ADDRESS REWRITING CONTROLS</b>
90
106
       <b><a href="postconf.5.html#myorigin">myorigin</a> ($<a href="postconf.5.html#myhostname">myhostname</a>)</b>
91
 
              The  default  domain  name that locally-posted mail
92
 
              appears to come from, and that locally posted  mail
93
 
              is delivered to.
 
107
              The domain name that locally-posted mail appears to
 
108
              come  from,  and that locally posted mail is deliv-
 
109
              ered to.
94
110
 
95
111
       <b><a href="postconf.5.html#allow_percent_hack">allow_percent_hack</a> (yes)</b>
96
 
              Enable  the  rewriting of the form "user%domain" to
 
112
              Enable the rewriting of the form  "user%domain"  to
97
113
              "user@domain".
98
114
 
99
115
       <b><a href="postconf.5.html#append_at_myorigin">append_at_myorigin</a> (yes)</b>
100
 
              Append the string "@$<a href="postconf.5.html#myorigin">myorigin</a>"  to  mail  addresses
101
 
              without domain information.
 
116
              With  locally  submitted  mail,  append  the string
 
117
              "@$<a href="postconf.5.html#myorigin">myorigin</a>"  to  mail  addresses  without   domain
 
118
              information.
102
119
 
103
120
       <b><a href="postconf.5.html#append_dot_mydomain">append_dot_mydomain</a> (yes)</b>
104
 
              Append  the  string  ".$<a href="postconf.5.html#mydomain">mydomain</a>" to addresses that
105
 
              have no ".domain" information.
 
121
              With  locally  submitted  mail,  append  the string
 
122
              ".$<a href="postconf.5.html#mydomain">mydomain</a>" to addresses that  have  no  ".domain"
 
123
              information.
106
124
 
107
125
       <b><a href="postconf.5.html#recipient_delimiter">recipient_delimiter</a> (empty)</b>
108
126
              The separator between user names and address exten-
109
127
              sions (user+foo).
110
128
 
111
129
       <b><a href="postconf.5.html#swap_bangpath">swap_bangpath</a> (yes)</b>
112
 
              Enable    the   rewriting   of   "site!user"   into
 
130
              Enable   the   rewriting   of   "site!user"    into
113
131
              "user@site".
114
132
 
 
133
       Available in Postfix 2.2 and later:
 
134
 
 
135
       <b><a href="postconf.5.html#remote_header_rewrite_domain">remote_header_rewrite_domain</a> (empty)</b>
 
136
              Don't  rewrite  message headers from remote clients
 
137
              at all when this parameter is empty; otherwise, re-
 
138
              write  remote message headers and append the speci-
 
139
              fied domain name to incomplete addresses.
 
140
 
115
141
<b>ROUTING CONTROLS</b>
116
142
       The following is applicable to  Postfix  version  2.0  and
117
143
       later.   Earlier  versions  do  not have support for: <a href="postconf.5.html#virtual_transport">vir</a>-
147
173
 
148
174
       <b><a href="postconf.5.html#relayhost">relayhost</a> (empty)</b>
149
175
              The default host to send non-local mail to when  no
150
 
              entry  is  matched  in  the  optional  <a href="transport.5.html">transport(5)</a>
151
 
              table.
 
176
              entry  is  matched in the optional <a href="transport.5.html"><b>transport</b>(5)</a> ta-
 
177
              ble.
152
178
 
153
179
       <b><a href="postconf.5.html#transport_maps">transport_maps</a> (empty)</b>
154
180
              Optional lookup tables with mappings from recipient
220
246
              for users or domains that no longer exist.
221
247
 
222
248
       <b><a href="postconf.5.html#process_id">process_id</a> (read-only)</b>
223
 
              The  process ID of a Postfix command or daemon pro-
224
 
              cess.
 
249
              The  process  ID  of  a  Postfix  command or daemon
 
250
              process.
225
251
 
226
252
       <b><a href="postconf.5.html#process_name">process_name</a> (read-only)</b>
227
253
              The process name of a  Postfix  command  or  daemon
239
265
              The syslog facility of Postfix logging.
240
266
 
241
267
       <b><a href="postconf.5.html#syslog_name">syslog_name</a> (postfix)</b>
242
 
              The  mail system name that is prepended to the pro-
243
 
              cess  name  in  syslog  records,  so  that  "smtpd"
 
268
              The  mail  system  name  that  is  prepended to the
 
269
              process name in syslog  records,  so  that  "smtpd"
244
270
              becomes, for example, "postfix/smtpd".
245
271
 
246
272
       Available in Postfix version 2.0 and later:
270
296
       P.O. Box 704
271
297
       Yorktown Heights, NY 10598, USA
272
298
 
273
 
                                               TRIVIAL-REWRITE(8)
 
299
                                                            TRIVIAL-REWRITE(8)
274
300
</pre> </body> </html>