~ubuntu-branches/ubuntu/hardy/postfix/hardy-security

« back to all changes in this revision

Viewing changes to proto/ETRN_README.html

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2007-04-15 16:00:44 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20070415160044-xl1vjlhf9mdmf43a
Tags: 2.4.0-3
Have preinst get user approval before installing (and being broken) on a
pre-2.6 kernel.  Closes: #417530

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
not delivered via the connection that was used for sending ETRN.
28
28
</p>
29
29
 
30
 
<p> Postfix versions before 1.0 (also known as version 20010228)
31
 
implemented the ETRN command in an inefficient manner: they simply
32
 
attempted to deliver all queued mail.  This is slow on mail servers
33
 
that queue mail for many customers.  </p>
34
 
 
35
30
<p> As of version 1.0, Postfix has a fast ETRN implementation that
36
31
does not require Postfix to examine every queue file.  Instead,
37
32
Postfix maintains a record of what queue files contain mail for
74
69
<blockquote>
75
70
<pre>
76
71
220 my.server.tld ESMTP Postfix
77
 
<b>helo my.client.tld</b>
 
72
<b>HELO my.client.tld</b>
78
73
250 Ok
79
 
<b>etrn some.customer.domain</b>
 
74
<b>ETRN some.customer.domain</b>
80
75
250 Queuing started
81
 
<b>quit</b>
 
76
<b>QUIT</b>
82
77
221 Bye
83
78
</pre>
84
79
</blockquote>
90
85
<p> The Postfix operator can request delivery for a specific customer
91
86
by using the command "sendmail -qR<i>destination</i>" and, with
92
87
Postfix version 1.1 and later, "postqueue -s<i>destination</i>".
 
88
Access to this feature is controlled with the authorized_flush_users
 
89
configuration parameter (Postfix version 2.2 and later).
93
90
</p>
94
91
 
95
92
<h2><a name="how">How Postfix fast ETRN works</a></h2>
149
146
with queue file names. When a request to "deliver mail now" arrives,
150
147
Postfix will attempt to deliver all recipients in the queue files
151
148
that have mail for the destination in question.  This does not
152
 
perform well when queue files have recipients in many different
153
 
domains.  </p>
 
149
perform well with queue files that have recipients in many different
 
150
domains, such as queue files with outbound mailing list traffic.
 
151
</p>
154
152
 
155
153
<li> <p> The flush(8) daemon maintains per-destination logfiles
156
154
only for destinations listed with $fast_flush_domains. With other
157
 
destinations it not possible to trigger delivery with "sendmail
 
155
destinations you cannot request delivery with "sendmail
158
156
-qR<i>destination</i>" or, with Postfix version 1.1 and later,
159
157
"postqueue -s<i>destination</i>". </p>
160
158
 
166
164
the list of message delivery transports specified with the
167
165
defer_transports configuration parameter.  </p>
168
166
 
 
167
<li> <p> Up to and including Postfix version 2.3, the "fast flush"
 
168
service may not deliver some messages if the request to "deliver
 
169
mail now" arrives while an incoming queue scan is already in progress.
 
170
</p>
 
171
 
169
172
</ul>
170
173
 
171
174
<h2><a name="config">Configuring the Postfix fast ETRN service</a></h2>
302
305
<blockquote>
303
306
<pre>
304
307
220 my.server.tld ESMTP Postfix
305
 
<b>helo my.client.tld</b>
 
308
<b>HELO my.client.tld</b>
306
309
250 Ok
307
 
<b>etrn some.customer.domain</b>
 
310
<b>ETRN some.customer.domain</b>
308
311
250 Queuing started
309
312
</pre>
310
313
</blockquote>
338
341
<blockquote>
339
342
<pre>
340
343
220 my.server.tld ESMTP Postfix
341
 
<b>helo my.client.tld</b>
 
344
<b>HELO my.client.tld</b>
342
345
250 Ok
343
 
<b>etrn some.other.customer.domain</b>
 
346
<b>ETRN some.other.customer.domain</b>
344
347
250 Queuing started
345
348
</pre>
346
349
</blockquote>
356
359
<blockquote>
357
360
<pre>
358
361
220 my.server.tld ESMTP Postfix
359
 
<b>helo my.client.tld</b>
 
362
<b>HELO my.client.tld</b>
360
363
250 Ok
361
 
<b>etrn not.a.customer.domain</b>
 
364
<b>ETRN not.a.customer.domain</b>
362
365
459 &lt;not.a.customer.domain&gt;: service unavailable
363
366
</pre>
364
367
</blockquote>