]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.10-20120902
authorWietse Venema <wietse@porcupine.org>
Sun, 2 Sep 2012 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:38:16 +0000 (06:38 +0000)
24 files changed:
postfix/HISTORY
postfix/README_FILES/IPV6_README
postfix/README_FILES/POSTSCREEN_README
postfix/README_FILES/TLS_README
postfix/README_FILES/TUNING_README
postfix/WISHLIST
postfix/html/IPV6_README.html
postfix/html/POSTSCREEN_README.html
postfix/html/TLS_README.html
postfix/html/TUNING_README.html
postfix/html/mailq.1.html
postfix/html/newaliases.1.html
postfix/html/postconf.5.html
postfix/html/sendmail.1.html
postfix/man/man1/sendmail.1
postfix/man/man5/postconf.5
postfix/proto/IPV6_README.html
postfix/proto/POSTSCREEN_README.html
postfix/proto/TLS_README.html
postfix/proto/TUNING_README.html
postfix/proto/postconf.proto
postfix/src/global/mail_version.h
postfix/src/global/rec_type.h
postfix/src/sendmail/sendmail.c

index a842a522a883bbdfa03b911080833e8d9f5cc7be..43d5a7943ebe27a98c4eddc445713a91994a569f 100644 (file)
@@ -17918,3 +17918,14 @@ Apologies for any names omitted.
        specific to the virtual(8) delivery agent, and will have
        no effect when mail is delivered with a different program.
        Files: proto/postconf.proto, proto/VIRTUAL_README.html.
+
+20120824
+
+       Feature: support for "sendmail -R hdrs|full". Jan Kundrát.
+       File: sendmail/sendmail.c.
+
+20120902
+
+       Documentation: updated TUNING_README with new pointers to
+       the STRESS_README and POSTSCREEN_README documents. Miscellaneous
+       documentation clarifications based on postfix-users discussions.
index d60b0e5f0e7fe9786e7bc39f9c8028c14db73d96..872756ee91b9ebd314397c1eacc9f71c3b2e45fd 100644 (file)
@@ -132,12 +132,13 @@ a\ba "\b"t\bty\byp\bpe\be:\b:t\bta\bab\bbl\ble\be"\b" p\bpa\bat\btt\bte\ber\brn\bn.\b.
 
 K\bKn\bno\bow\bwn\bn L\bLi\bim\bmi\bit\bta\bat\bti\bio\bon\bns\bs
 
-  * The order of IPv6/IPv4 outgoing connection attempts is not yet
-    configurable. Currently, IPv6 is tried before IPv4.
+  * Postfix SMTP clients before version 2.8 try to connect over IPv6 before
+    trying IPv4. With more recent Postfix versions, the order of IPv6 versus
+    IPv4 outgoing connection attempts is configurable with the
+    smtp_address_preference parameter.
 
-  * Postfix currently does not support DNSBL (real-time blackhole list) lookups
-    for IPv6 client IP addresses; currently there are no blacklists that cover
-    the IPv6 address space.
+  * Postfix versions before 2.6 do not support DNSBL (real-time blackhole list)
+    lookups for IPv6 client IP addresses.
 
   * IPv6 does not have class A, B, C, etc. networks. With IPv6 networks, the
     setting "mynetworks_style = class" has the same effect as the setting
index d5dad128ee91d4c0ffcb20f0dbdc2a69fdfa67a5..0d2c1695b30c64129f4bb02ae309dd052b601256 100644 (file)
@@ -4,6 +4,8 @@ P\bPo\bos\bst\btf\bfi\bix\bx P\bPo\bos\bst\bts\bsc\bcr\bre\bee\ben\bn H\bHo\bow\bwt\bto\bo
 
 I\bIn\bnt\btr\bro\bod\bdu\buc\bct\bti\bio\bon\bn
 
+This document describes features that are available in Postfix 2.8 and later.
+
 The Postfix postscreen(8) daemon provides additional protection against mail
 server overload. One postscreen(8) process handles multiple inbound SMTP
 connections, and decides which clients may talk to a Postfix SMTP server
index 1bf1d3076a83c9bcfad26ff36a398284f2183606..d48c89d0c5dbbd61a19274eeb91cc4a276c98dba 100644 (file)
@@ -1592,10 +1592,11 @@ In the examples below, user input is shown in b\bbo\bol\bld\bd font, and a "#" promp
 indicates a super-user shell.
 
   * Become your own Certificate Authority, so that you can sign your own public
-    keys. This example uses the CA.pl script that ships with OpenSSL. By
-    default, OpenSSL installs this as /usr/local/ssl/misc/CA.pl, but your
-    mileage may vary. The script creates a private key in ./demoCA/private/
-    cakey.pem and a public key in ./demoCA/cacert.pem.
+    keys. This example uses the CA.pl script that ships with OpenSSL. On some
+    systems, OpenSSL installs this as /usr/local/ssl/misc/CA.pl. Some systems
+    install this as part of a package named openssl-perl or something similar.
+    The script creates a private key in ./demoCA/private/cakey.pem and a public
+    key in ./demoCA/cacert.pem.
 
         % /\b/u\bus\bsr\br/\b/l\blo\boc\bca\bal\bl/\b/s\bss\bsl\bl/\b/m\bmi\bis\bsc\bc/\b/C\bCA\bA.\b.p\bpl\bl -\b-n\bne\bew\bwc\bca\ba
         CA certificate filename (or enter to create)
index 56f87da73e353295f8ad1be6cee973c363c23248..b7a3f3a3d4661198514bd4445c45fbf081b38c31 100644 (file)
@@ -77,8 +77,8 @@ When Postfix responds slowly to SMTP clients:
 
   * If the number of smtpd(8) processes has reached the process limit as
     specified in master.cf, new SMTP clients must wait until a process becomes
-    available. Increase the number of processes if memory permits. See the
-    instructions given under "Tuning the number of Postfix processes".
+    available. See the STRESS_README and POSTSCREEN_README documents for
+    measures that help to prevent SMTP server overload.
 
 D\bDo\boi\bin\bng\bg m\bmo\bor\bre\be w\bwo\bor\brk\bk w\bwi\bit\bth\bh y\byo\bou\bur\br S\bSM\bMT\bTP\bP s\bse\ber\brv\bve\ber\br p\bpr\bro\boc\bce\bes\bss\bse\bes\bs
 
@@ -268,12 +268,12 @@ should never be the default. They should be used only for transports that
 deliver mail to a small number of high volume domains.
 
 A common situation where high concurrency is called for is on gateways relaying
-a high volume of mail from between the Internet and an intranet mail
-environment. Approximately half the mail (assuming equal volumes inbound and
-outbound) will be destined for the internal mail hubs. Since the internal mail
-hubs will be receiving all external mail exclusively from the gateway, it is
-reasonable to configure the gateway to make greater demands on the capacity of
-the internal SMTP servers.
+a high volume of mail between the Internet and an intranet mail environment.
+Approximately half the mail (assuming equal volumes inbound and outbound) will
+be destined for the internal mail hubs. Since the internal mail hubs will be
+receiving all external mail exclusively from the gateway, it is reasonable to
+configure the gateway to make greater demands on the capacity of the internal
+SMTP servers.
 
 The tuning of the inbound concurrency limits need not be trial and error. A
 high volume capable mailhub should be able to easily handle 50 or 100 (rather
@@ -312,8 +312,8 @@ Postfix queue manager breaks up the list of recipients into smaller lists.
 Postfix will attempt to send multiple copies of the message in parallel.
 
 IMPORTANT: Be careful when increasing the recipient limit per message delivery;
-some smtpd(8) servers abort the connection when they run out of memory or when
-hard recipient limit is reached, so that the message will never be delivered.
+some SMTP servers abort the connection when they run out of memory or when a
+hard recipient limit is reached, so that the message will never be delivered.
 
 The smtpd_recipient_limit parameter (default: 1000) controls how many
 recipients the Postfix smtpd(8) server will take per delivery. The default
@@ -400,14 +400,14 @@ client processes, 10 SMTP server processes, and so on:
     /etc/postfix/main.cf:
         default_process_limit = 10
 
-You need to execute "postfix reload" to make the change effective. The limits
-are enforced by the Postfix master(8) daemon which does not automatically read
+You need to execute "postfix reload" to make the change effective. This limit
+is enforced by the Postfix master(8) daemon which does not automatically read
 main.cf when it changes.
 
 You can override the process limit for specific Postfix daemons by editing the
 master.cf file. For example, if you do not wish to receive 100 SMTP messages at
-the same time, but do not want to change the process limits for local mail
-deliveries, you could specify:
+the same time, but do not want to change the process limits for other Postfix
+daemons, you could specify:
 
     /etc/postfix/master.cf:
         # ====================================================================
index f1121a6fbebeb8bf8c011b0ce0b96f6a7be1241d..d7841a01ae0770313de4cec2e678e48296fe4b46 100644 (file)
@@ -9,10 +9,19 @@ Wish list:
        Don't forget Apple's code donation for fetching mail from
        IMAP server.
 
+       Parallelized queue preprocessing: rip out the queue manager
+       code to read queue files and resolve recipients, and run
+       it in parallel processes. The queue manager then processes
+       their results as they become available.  This would eliminate
+       the qmgr<->trivial-rewrite bottleneck. This can also eliminate
+       much of the scheduling disadvantage of a single queue manager
+       compared to hundreds of mail receiving or sending processes
+       (especially if there is a way to scan the queue in parallel).
+
        mem_pool module for frequently-allocated objects
        such as postscreen VSTRINGS and STATE objects.
        Operations: create, put, get, maybe destroy.
-       Call-backs: create, reset, and maybe destroy.
+       Call-backs: init, reset, and maybe destroy.
 
        Make "rename" the default when postmapping a DB file
        (later: use copy+rename for postmap -i, postmap -d).
index 0514d22f624ff9c98f348b26cf564d5960410e16..01810c08e143a7ad6c14d04c0eb989034fc68d05 100644 (file)
@@ -204,12 +204,13 @@ confused with a "<i><a href="DATABASE_README.html">type:table</a></i>" pattern.
 
 <ul>
 
-<li> <p> The order of IPv6/IPv4 outgoing connection attempts is
-not yet configurable.  Currently, IPv6 is tried before IPv4. </p>
+<li> <p> Postfix SMTP clients before version 2.8 try to connect
+over IPv6 before trying IPv4.  With more recent Postfix versions,
+the order of IPv6 versus IPv4 outgoing connection attempts is
+configurable with the <a href="postconf.5.html#smtp_address_preference">smtp_address_preference</a> parameter.  </p>
 
-<li> <p> Postfix currently does not support DNSBL (real-time
-blackhole list) lookups for IPv6 client IP addresses; currently
-there are no blacklists that cover the IPv6 address space. </p>
+<li> <p> Postfix versions before 2.6 do not support DNSBL (real-time
+blackhole list) lookups for IPv6 client IP addresses. </p>
 
 <li> <p> IPv6 does not have class A, B, C, etc. networks. With IPv6
 networks, the setting "<a href="postconf.5.html#mynetworks_style">mynetworks_style</a> = class" has the
index e0925efe2be2861c91aba62e655aa923b1905371..20533e0b2e8bbb888ba0261c10088e87b6669a01 100644 (file)
@@ -17,6 +17,9 @@
 
 <h2> <a name="intro">Introduction</a> </h2>
 
+<p> This document describes features that are available in Postfix
+2.8 and later. </p>
+
 <p> The Postfix <a href="postscreen.8.html">postscreen(8)</a> daemon provides additional protection
 against mail server overload. One <a href="postscreen.8.html">postscreen(8)</a> process handles
 multiple inbound SMTP connections, and decides which clients may
index 51299360d13f141317128f4bd6f30a6bd3d90f2d..fad43a337ca38989ca5b8b4bba314bcf77055499 100644 (file)
@@ -2123,8 +2123,9 @@ font, and a "<tt>#</tt>" prompt indicates a super-user shell. </p>
 
 <li> <p> Become your own Certificate Authority, so that you can
 sign your own public keys. This example uses the CA.pl script that
-ships with OpenSSL.  By default, OpenSSL installs this as
-<tt>/usr/local/ssl/misc/CA.pl</tt>, but your mileage may vary. 
+ships with OpenSSL.  On some systems, OpenSSL installs this as
+<tt>/usr/local/ssl/misc/CA.pl</tt>. Some systems install this as
+part of a package named <tt>openssl-perl</tt> or something similar.
 The script creates a private key in <tt>./demoCA/private/cakey.pem</tt>
 and a public key in <tt>./demoCA/cacert.pem</tt>.</p>
 
index 48f59f2ffa72849eaaa0b69c499f40da1fbbd199..a851a225d779db7bf55060782815c4c3dc52bde4 100644 (file)
@@ -137,10 +137,8 @@ the DNS requests or replies.  </p>
 
 <li> <p> If the number of <a href="smtpd.8.html">smtpd(8)</a> processes has reached the process
 limit as specified in <a href="master.5.html">master.cf</a>, new SMTP clients must wait until
-a process becomes available.  Increase the number of processes if
-memory permits. See the instructions given under "<a
-href="#proc_limit">Tuning the number of Postfix processes</a>".
-</p>
+a process becomes available.  See the <a href="STRESS_README.html">STRESS_README</a> and <a href="POSTSCREEN_README.html">POSTSCREEN_README</a>
+documents for measures that help to prevent SMTP server overload.  </p>
 
 </ul>
 
@@ -391,7 +389,7 @@ default. They should be used only for transports that deliver mail
 to a small number of high volume domains.  </p>
 
 <p> A common situation where high concurrency is called for is on
-gateways relaying a high volume of mail from between the Internet
+gateways relaying a high volume of mail between the Internet
 and an intranet mail environment. Approximately half the mail
 (assuming equal volumes inbound and outbound) will be destined
 for the internal mail hubs.  Since the internal mail hubs will be
@@ -441,7 +439,7 @@ recipients into smaller lists. Postfix will attempt to send multiple
 copies of the message in parallel. </p>
 
 <p> IMPORTANT: Be careful when increasing the recipient limit per
-message delivery; some <a href="smtpd.8.html">smtpd(8)</a> servers abort the connection when they
+message delivery; some SMTP servers abort the connection when they
 run out of memory or when a hard recipient limit is reached, so
 that the message will never be delivered. </p>
 
@@ -568,13 +566,13 @@ and so on: </p>
 </blockquote>
 
 <p> You need to execute "postfix reload" to make the change effective.
-The limits are enforced by the Postfix <a href="master.8.html">master(8)</a> daemon which does
+This limit is enforced by the Postfix <a href="master.8.html">master(8)</a> daemon which does
 not automatically read <a href="postconf.5.html">main.cf</a> when it changes. </p>
 
 <p> You can override the process limit for specific Postfix daemons
 by editing the <a href="master.5.html">master.cf</a> file.  For example, if you do not wish to
 receive 100 SMTP messages at the same time, but do not want to
-change the process limits for local mail deliveries, you could
+change the process limits for other Postfix daemons, you could
 specify: </p>
 
 <blockquote>
index 7dc5ccb3d3dd7dc764d315085b1d5727bf0ad41e..32de6bf2d17cda7cc3edc862c75fea0c9f158346 100644 (file)
@@ -217,45 +217,54 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               Postfix versions before 2.1, the <b>Errors-To:</b> message
               header overrides the error return address.
 
-       <b>-R</b> <i>return</i><b>_</b><i>limit</i> (ignored)
-              Limit  the  size   of   bounced   mail.   Use   the
-              <b><a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a></b>  configuration parameter instead.
+       <b>-R</b> <i>return</i>
+              Delivery  status  notification  control.    Specify
+              "hdrs"  to  return  only  the  header  if a message
+              bounces, "full" to return a full copy (the  default
+              behavior).
 
-       <b>-q</b>     Attempt to deliver all queued mail. This is  imple-
+              The  <b>-R</b>  option specifies an upper bound; for exam-
+              ple, Postfix will return only the  header,  when  a
+              full  copy  would exceed the <a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a> set-
+              ting.
+
+              This option is ignored before Postfix version 2.10.
+
+       <b>-q</b>     Attempt  to deliver all queued mail. This is imple-
               mented by executing the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.
 
               Warning:  flushing  undeliverable  mail  frequently
-              will result in poor  delivery  performance  of  all
+              will  result  in  poor  delivery performance of all
               other mail.
 
        <b>-q</b><i>interval</i> (ignored)
-              The   interval   between   queue   runs.   Use  the
+              The  interval   between   queue   runs.   Use   the
               <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a></b> configuration parameter instead.
 
        <b>-qI</b><i>queueid</i>
               Schedule immediate delivery of mail with the speci-
-              fied  queue ID.  This option is implemented by exe-
-              cuting the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and  is  available
+              fied queue ID.  This option is implemented by  exe-
+              cuting  the  <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and is available
               with Postfix version 2.4 and later.
 
        <b>-qR</b><i>site</i>
-              Schedule  immediate  delivery  of  all mail that is
+              Schedule immediate delivery of  all  mail  that  is
               queued for the named <i>site</i>. This option accepts only
-              <i>site</i>  names  that are eligible for the "fast flush"
-              service,  and  is  implemented  by  executing   the
+              <i>site</i> names that are eligible for the  "fast  flush"
+              service,   and  is  implemented  by  executing  the
               <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.  See <a href="flush.8.html"><b>flush</b>(8)</a> for more infor-
               mation about the "fast flush" service.
 
        <b>-qS</b><i>site</i>
-              This command is not  implemented.  Use  the  slower
+              This  command  is  not  implemented. Use the slower
               "<b>sendmail -q</b>" command instead.
 
-       <b>-t</b>     Extract  recipients from message headers. These are
-              added to any recipients specified  on  the  command
+       <b>-t</b>     Extract recipients from message headers. These  are
+              added  to  any  recipients specified on the command
               line.
 
-              With  Postfix  versions  prior  to 2.1, this option
-              requires that no recipient addresses are  specified
+              With Postfix versions prior  to  2.1,  this  option
+              requires  that no recipient addresses are specified
               on the command line.
 
        <b>-U</b> (ignored)
@@ -268,41 +277,41 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               This feature is available in Postfix 2.3 and later.
 
        <b>-XV</b> (Postfix 2.2 and earlier: <b>-V</b>)
-              Variable  Envelope  Return  Path. Given an envelope
-              sender address of the  form  <i>owner-listname</i>@<i>origin</i>,
-              each  recipient  <i>user</i>@<i>domain</i>  receives  mail with a
+              Variable Envelope Return Path.  Given  an  envelope
+              sender  address  of the form <i>owner-listname</i>@<i>origin</i>,
+              each recipient <i>user</i>@<i>domain</i>  receives  mail  with  a
               personalized envelope sender address.
 
-              By  default,  the  personalized   envelope   sender
-              address  is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>. The
-              default <b>+</b> and <b>=</b> characters  are  configurable  with
-              the  <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration parame-
+              By   default,   the  personalized  envelope  sender
+              address is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>.  The
+              default  <b>+</b>  and  <b>=</b> characters are configurable with
+              the <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration  parame-
               ter.
 
        <b>-XV</b><i>xy</i> (Postfix 2.2 and earlier: <b>-V</b><i>xy</i>)
-              As <b>-XV</b>, but uses <i>x</i> and  <i>y</i>  as  the  VERP  delimiter
-              characters,  instead  of  the  characters specified
-              with  the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>   configuration
+              As  <b>-XV</b>,  but  uses  <i>x</i>  and <i>y</i> as the VERP delimiter
+              characters, instead  of  the  characters  specified
+              with   the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration
               parameter.
 
-       <b>-v</b>     Send  an email report of the first delivery attempt
-              (Postfix versions 2.1  and  later).  Mail  delivery
-              always  happens in the background. When multiple <b>-v</b>
+       <b>-v</b>     Send an email report of the first delivery  attempt
+              (Postfix  versions  2.1  and  later). Mail delivery
+              always happens in the background. When multiple  <b>-v</b>
               options  are  given,  enable  verbose  logging  for
               debugging purposes.
 
        <b>-X</b> <i>log</i><b>_</b><i>file</i> (ignored)
-              Log  mailer  traffic.  Use  the <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b> and
-              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b> configuration parameters  instead.
+              Log mailer traffic.  Use  the  <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b>  and
+              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b>  configuration parameters instead.
 
 <b>SECURITY</b>
-       By  design,  this  program  is not set-user (or group) id.
-       However, it must  handle  data  from  untrusted,  possibly
-       remote,  users.   Thus,  the  usual precautions need to be
+       By design, this program is not  set-user  (or  group)  id.
+       However,  it  must  handle  data  from untrusted, possibly
+       remote, users.  Thus, the usual  precautions  need  to  be
        taken against malicious inputs.
 
 <b>DIAGNOSTICS</b>
-       Problems are logged to  <b>syslogd</b>(8)  and  to  the  standard
+       Problems  are  logged  to  <b>syslogd</b>(8)  and to the standard
        error stream.
 
 <b>ENVIRONMENT</b>
@@ -314,29 +323,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b>MAIL_DEBUG</b> (value does not matter)
               Enable debugging with an external command, as spec-
-              ified  with  the   <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>   configuration
+              ified   with   the  <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>  configuration
               parameter.
 
-       <b>NAME</b>   The  sender  full name. This is used only with mes-
-              sages that have no <b>From:</b> message header.  See  also
+       <b>NAME</b>   The sender full name. This is used only  with  mes-
+              sages  that  have no <b>From:</b> message header. See also
               the <b>-F</b> option above.
 
 <b>CONFIGURATION PARAMETERS</b>
-       The  following  <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
+       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are  especially  relevant
        to this program.  The text below provides only a parameter
-       summary.  See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including exam-
+       summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including  exam-
        ples.
 
 <b>COMPATIBILITY CONTROLS</b>
        Available with Postfix 2.9 and later:
 
        <b><a href="postconf.5.html#sendmail_fix_line_endings">sendmail_fix_line_endings</a> (always)</b>
-              Controls how the Postfix sendmail command  converts
-              email  message line endings from &lt;CR&gt;&lt;LF&gt; into UNIX
+              Controls  how the Postfix sendmail command converts
+              email message line endings from &lt;CR&gt;&lt;LF&gt; into  UNIX
               format (&lt;LF&gt;).
 
 <b>TROUBLE SHOOTING CONTROLS</b>
-       The <a href="DEBUG_README.html">DEBUG_README</a> file gives examples  of  how  to  trouble
+       The  <a href="DEBUG_README.html">DEBUG_README</a>  file  gives  examples of how to trouble
        shoot a Postfix system.
 
        <b><a href="postconf.5.html#debugger_command">debugger_command</a> (empty)</b>
@@ -344,29 +353,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               mon program is invoked with the -D option.
 
        <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a> (2)</b>
-              The increment  in  verbose  logging  level  when  a
-              remote  client  or  server matches a pattern in the
+              The  increment  in  verbose  logging  level  when a
+              remote client or server matches a  pattern  in  the
               <a href="postconf.5.html#debug_peer_list">debug_peer_list</a> parameter.
 
        <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a> (empty)</b>
-              Optional list of remote client or  server  hostname
-              or  network address patterns that cause the verbose
-              logging level to increase by the  amount  specified
+              Optional  list  of remote client or server hostname
+              or network address patterns that cause the  verbose
+              logging  level  to increase by the amount specified
               in $<a href="postconf.5.html#debug_peer_level">debug_peer_level</a>.
 
 <b>ACCESS CONTROLS</b>
        Available in Postfix version 2.2 and later:
 
        <b><a href="postconf.5.html#authorized_flush_users">authorized_flush_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are  authorized  to flush the
+              List of users  who  are  authorized  to  flush  the
               queue.
 
        <b><a href="postconf.5.html#authorized_mailq_users">authorized_mailq_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
               List of users who are authorized to view the queue.
 
        <b><a href="postconf.5.html#authorized_submit_users">authorized_submit_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are authorized to submit mail
-              with the <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with  the  privi-
+              List of users who are  authorized  to  submit  mail
+              with  the  <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with the privi-
               leged <a href="postdrop.1.html"><b>postdrop</b>(1)</a> helper command).
 
 <b>RESOURCE AND RATE CONTROLS</b>
@@ -375,7 +384,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               sent in a non-delivery notification.
 
        <b><a href="postconf.5.html#fork_attempts">fork_attempts</a> (5)</b>
-              The maximal number of attempts to  fork()  a  child
+              The  maximal  number  of attempts to fork() a child
               process.
 
        <b><a href="postconf.5.html#fork_delay">fork_delay</a> (1s)</b>
@@ -383,11 +392,11 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               process.
 
        <b><a href="postconf.5.html#hopcount_limit">hopcount_limit</a> (50)</b>
-              The maximal number of  Received:   message  headers
+              The  maximal  number  of Received:  message headers
               that is allowed in the primary message headers.
 
        <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (300s)</b>
-              The  time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
+              The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the  queue
               manager; prior to Postfix 2.4 the default value was
               1000s.
 
@@ -397,37 +406,37 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b><a href="postconf.5.html#fast_flush_domains">fast_flush_domains</a> ($<a href="postconf.5.html#relay_domains">relay_domains</a>)</b>
               Optional list of destinations that are eligible for
-              per-destination  logfiles  with mail that is queued
+              per-destination logfiles with mail that  is  queued
               to those destinations.
 
 <b>VERP CONTROLS</b>
        The <a href="VERP_README.html">VERP_README</a> file describes configuration and operation
-       details  of  Postfix  support for variable envelope return
+       details of Postfix support for  variable  envelope  return
        path addresses.
 
        <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a> (+=)</b>
               The two default VERP delimiter characters.
 
        <b><a href="postconf.5.html#verp_delimiter_filter">verp_delimiter_filter</a> (-=+)</b>
-              The characters Postfix accepts  as  VERP  delimiter
-              characters  on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command line
+              The  characters  Postfix  accepts as VERP delimiter
+              characters on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command  line
               and in SMTP commands.
 
 <b>MISCELLANEOUS CONTROLS</b>
        <b><a href="postconf.5.html#alias_database">alias_database</a> (see 'postconf -d' output)</b>
-              The alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that  are
+              The  alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that are
               updated with "<b>newaliases</b>" or with "<b>sendmail -bi</b>".
 
        <b><a href="postconf.5.html#command_directory">command_directory</a> (see 'postconf -d' output)</b>
-              The  location  of  all  postfix administrative com-
+              The location of  all  postfix  administrative  com-
               mands.
 
        <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
-              The default location of  the  Postfix  <a href="postconf.5.html">main.cf</a>  and
+              The  default  location  of  the Postfix <a href="postconf.5.html">main.cf</a> and
               <a href="master.5.html">master.cf</a> configuration files.
 
        <b><a href="postconf.5.html#daemon_directory">daemon_directory</a> (see 'postconf -d' output)</b>
-              The  directory  with  Postfix  support programs and
+              The directory with  Postfix  support  programs  and
               daemon programs.
 
        <b><a href="postconf.5.html#default_database_type">default_database_type</a> (see 'postconf -d' output)</b>
@@ -435,16 +444,16 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               <a href="postalias.1.html"><b>postalias</b>(1)</a> and <a href="postmap.1.html"><b>postmap</b>(1)</a> commands.
 
        <b><a href="postconf.5.html#delay_warning_time">delay_warning_time</a> (0h)</b>
-              The  time  after which the sender receives the mes-
+              The time after which the sender receives  the  mes-
               sage headers of mail that is still queued.
 
        <b><a href="postconf.5.html#enable_errors_to">enable_errors_to</a> (no)</b>
-              Report mail delivery errors to the  address  speci-
-              fied   with  the  non-standard  Errors-To:  message
-              header, instead  of  the  envelope  sender  address
-              (this  feature is removed with Postfix version 2.2,
-              is turned off by default with Postfix version  2.1,
-              and  is  always  turned  on with older Postfix ver-
+              Report  mail  delivery errors to the address speci-
+              fied  with  the  non-standard  Errors-To:   message
+              header,  instead  of  the  envelope  sender address
+              (this feature is removed with Postfix version  2.2,
+              is  turned off by default with Postfix version 2.1,
+              and is always turned on  with  older  Postfix  ver-
               sions).
 
        <b><a href="postconf.5.html#mail_owner">mail_owner</a> (postfix)</b>
@@ -452,21 +461,21 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               and most Postfix daemon processes.
 
        <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
-              The  location of the Postfix top-level queue direc-
+              The location of the Postfix top-level queue  direc-
               tory.
 
        <b><a href="postconf.5.html#remote_header_rewrite_domain">remote_header_rewrite_domain</a> (empty)</b>
-              Don't rewrite message headers from  remote  clients
+              Don't  rewrite  message headers from remote clients
               at all when this parameter is empty; otherwise, re-
-              write message  headers  and  append  the  specified
+              write  message  headers  and  append  the specified
               domain name to incomplete addresses.
 
        <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
               The syslog facility of Postfix logging.
 
        <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
-              The  mail  system  name  that  is  prepended to the
-              process name in syslog  records,  so  that  "smtpd"
+              The mail system  name  that  is  prepended  to  the
+              process  name  in  syslog  records, so that "smtpd"
               becomes, for example, "postfix/smtpd".
 
 <b>FILES</b>
@@ -491,7 +500,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
        <a href="VERP_README.html">VERP_README</a>, Postfix VERP howto
 
 <b>LICENSE</b>
-       The Secure Mailer license must be  distributed  with  this
+       The  Secure  Mailer  license must be distributed with this
        software.
 
 <b>AUTHOR(S)</b>
index 7dc5ccb3d3dd7dc764d315085b1d5727bf0ad41e..32de6bf2d17cda7cc3edc862c75fea0c9f158346 100644 (file)
@@ -217,45 +217,54 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               Postfix versions before 2.1, the <b>Errors-To:</b> message
               header overrides the error return address.
 
-       <b>-R</b> <i>return</i><b>_</b><i>limit</i> (ignored)
-              Limit  the  size   of   bounced   mail.   Use   the
-              <b><a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a></b>  configuration parameter instead.
+       <b>-R</b> <i>return</i>
+              Delivery  status  notification  control.    Specify
+              "hdrs"  to  return  only  the  header  if a message
+              bounces, "full" to return a full copy (the  default
+              behavior).
 
-       <b>-q</b>     Attempt to deliver all queued mail. This is  imple-
+              The  <b>-R</b>  option specifies an upper bound; for exam-
+              ple, Postfix will return only the  header,  when  a
+              full  copy  would exceed the <a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a> set-
+              ting.
+
+              This option is ignored before Postfix version 2.10.
+
+       <b>-q</b>     Attempt  to deliver all queued mail. This is imple-
               mented by executing the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.
 
               Warning:  flushing  undeliverable  mail  frequently
-              will result in poor  delivery  performance  of  all
+              will  result  in  poor  delivery performance of all
               other mail.
 
        <b>-q</b><i>interval</i> (ignored)
-              The   interval   between   queue   runs.   Use  the
+              The  interval   between   queue   runs.   Use   the
               <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a></b> configuration parameter instead.
 
        <b>-qI</b><i>queueid</i>
               Schedule immediate delivery of mail with the speci-
-              fied  queue ID.  This option is implemented by exe-
-              cuting the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and  is  available
+              fied queue ID.  This option is implemented by  exe-
+              cuting  the  <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and is available
               with Postfix version 2.4 and later.
 
        <b>-qR</b><i>site</i>
-              Schedule  immediate  delivery  of  all mail that is
+              Schedule immediate delivery of  all  mail  that  is
               queued for the named <i>site</i>. This option accepts only
-              <i>site</i>  names  that are eligible for the "fast flush"
-              service,  and  is  implemented  by  executing   the
+              <i>site</i> names that are eligible for the  "fast  flush"
+              service,   and  is  implemented  by  executing  the
               <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.  See <a href="flush.8.html"><b>flush</b>(8)</a> for more infor-
               mation about the "fast flush" service.
 
        <b>-qS</b><i>site</i>
-              This command is not  implemented.  Use  the  slower
+              This  command  is  not  implemented. Use the slower
               "<b>sendmail -q</b>" command instead.
 
-       <b>-t</b>     Extract  recipients from message headers. These are
-              added to any recipients specified  on  the  command
+       <b>-t</b>     Extract recipients from message headers. These  are
+              added  to  any  recipients specified on the command
               line.
 
-              With  Postfix  versions  prior  to 2.1, this option
-              requires that no recipient addresses are  specified
+              With Postfix versions prior  to  2.1,  this  option
+              requires  that no recipient addresses are specified
               on the command line.
 
        <b>-U</b> (ignored)
@@ -268,41 +277,41 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               This feature is available in Postfix 2.3 and later.
 
        <b>-XV</b> (Postfix 2.2 and earlier: <b>-V</b>)
-              Variable  Envelope  Return  Path. Given an envelope
-              sender address of the  form  <i>owner-listname</i>@<i>origin</i>,
-              each  recipient  <i>user</i>@<i>domain</i>  receives  mail with a
+              Variable Envelope Return Path.  Given  an  envelope
+              sender  address  of the form <i>owner-listname</i>@<i>origin</i>,
+              each recipient <i>user</i>@<i>domain</i>  receives  mail  with  a
               personalized envelope sender address.
 
-              By  default,  the  personalized   envelope   sender
-              address  is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>. The
-              default <b>+</b> and <b>=</b> characters  are  configurable  with
-              the  <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration parame-
+              By   default,   the  personalized  envelope  sender
+              address is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>.  The
+              default  <b>+</b>  and  <b>=</b> characters are configurable with
+              the <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration  parame-
               ter.
 
        <b>-XV</b><i>xy</i> (Postfix 2.2 and earlier: <b>-V</b><i>xy</i>)
-              As <b>-XV</b>, but uses <i>x</i> and  <i>y</i>  as  the  VERP  delimiter
-              characters,  instead  of  the  characters specified
-              with  the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>   configuration
+              As  <b>-XV</b>,  but  uses  <i>x</i>  and <i>y</i> as the VERP delimiter
+              characters, instead  of  the  characters  specified
+              with   the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration
               parameter.
 
-       <b>-v</b>     Send  an email report of the first delivery attempt
-              (Postfix versions 2.1  and  later).  Mail  delivery
-              always  happens in the background. When multiple <b>-v</b>
+       <b>-v</b>     Send an email report of the first delivery  attempt
+              (Postfix  versions  2.1  and  later). Mail delivery
+              always happens in the background. When multiple  <b>-v</b>
               options  are  given,  enable  verbose  logging  for
               debugging purposes.
 
        <b>-X</b> <i>log</i><b>_</b><i>file</i> (ignored)
-              Log  mailer  traffic.  Use  the <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b> and
-              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b> configuration parameters  instead.
+              Log mailer traffic.  Use  the  <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b>  and
+              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b>  configuration parameters instead.
 
 <b>SECURITY</b>
-       By  design,  this  program  is not set-user (or group) id.
-       However, it must  handle  data  from  untrusted,  possibly
-       remote,  users.   Thus,  the  usual precautions need to be
+       By design, this program is not  set-user  (or  group)  id.
+       However,  it  must  handle  data  from untrusted, possibly
+       remote, users.  Thus, the usual  precautions  need  to  be
        taken against malicious inputs.
 
 <b>DIAGNOSTICS</b>
-       Problems are logged to  <b>syslogd</b>(8)  and  to  the  standard
+       Problems  are  logged  to  <b>syslogd</b>(8)  and to the standard
        error stream.
 
 <b>ENVIRONMENT</b>
@@ -314,29 +323,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b>MAIL_DEBUG</b> (value does not matter)
               Enable debugging with an external command, as spec-
-              ified  with  the   <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>   configuration
+              ified   with   the  <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>  configuration
               parameter.
 
-       <b>NAME</b>   The  sender  full name. This is used only with mes-
-              sages that have no <b>From:</b> message header.  See  also
+       <b>NAME</b>   The sender full name. This is used only  with  mes-
+              sages  that  have no <b>From:</b> message header. See also
               the <b>-F</b> option above.
 
 <b>CONFIGURATION PARAMETERS</b>
-       The  following  <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
+       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are  especially  relevant
        to this program.  The text below provides only a parameter
-       summary.  See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including exam-
+       summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including  exam-
        ples.
 
 <b>COMPATIBILITY CONTROLS</b>
        Available with Postfix 2.9 and later:
 
        <b><a href="postconf.5.html#sendmail_fix_line_endings">sendmail_fix_line_endings</a> (always)</b>
-              Controls how the Postfix sendmail command  converts
-              email  message line endings from &lt;CR&gt;&lt;LF&gt; into UNIX
+              Controls  how the Postfix sendmail command converts
+              email message line endings from &lt;CR&gt;&lt;LF&gt; into  UNIX
               format (&lt;LF&gt;).
 
 <b>TROUBLE SHOOTING CONTROLS</b>
-       The <a href="DEBUG_README.html">DEBUG_README</a> file gives examples  of  how  to  trouble
+       The  <a href="DEBUG_README.html">DEBUG_README</a>  file  gives  examples of how to trouble
        shoot a Postfix system.
 
        <b><a href="postconf.5.html#debugger_command">debugger_command</a> (empty)</b>
@@ -344,29 +353,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               mon program is invoked with the -D option.
 
        <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a> (2)</b>
-              The increment  in  verbose  logging  level  when  a
-              remote  client  or  server matches a pattern in the
+              The  increment  in  verbose  logging  level  when a
+              remote client or server matches a  pattern  in  the
               <a href="postconf.5.html#debug_peer_list">debug_peer_list</a> parameter.
 
        <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a> (empty)</b>
-              Optional list of remote client or  server  hostname
-              or  network address patterns that cause the verbose
-              logging level to increase by the  amount  specified
+              Optional  list  of remote client or server hostname
+              or network address patterns that cause the  verbose
+              logging  level  to increase by the amount specified
               in $<a href="postconf.5.html#debug_peer_level">debug_peer_level</a>.
 
 <b>ACCESS CONTROLS</b>
        Available in Postfix version 2.2 and later:
 
        <b><a href="postconf.5.html#authorized_flush_users">authorized_flush_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are  authorized  to flush the
+              List of users  who  are  authorized  to  flush  the
               queue.
 
        <b><a href="postconf.5.html#authorized_mailq_users">authorized_mailq_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
               List of users who are authorized to view the queue.
 
        <b><a href="postconf.5.html#authorized_submit_users">authorized_submit_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are authorized to submit mail
-              with the <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with  the  privi-
+              List of users who are  authorized  to  submit  mail
+              with  the  <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with the privi-
               leged <a href="postdrop.1.html"><b>postdrop</b>(1)</a> helper command).
 
 <b>RESOURCE AND RATE CONTROLS</b>
@@ -375,7 +384,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               sent in a non-delivery notification.
 
        <b><a href="postconf.5.html#fork_attempts">fork_attempts</a> (5)</b>
-              The maximal number of attempts to  fork()  a  child
+              The  maximal  number  of attempts to fork() a child
               process.
 
        <b><a href="postconf.5.html#fork_delay">fork_delay</a> (1s)</b>
@@ -383,11 +392,11 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               process.
 
        <b><a href="postconf.5.html#hopcount_limit">hopcount_limit</a> (50)</b>
-              The maximal number of  Received:   message  headers
+              The  maximal  number  of Received:  message headers
               that is allowed in the primary message headers.
 
        <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (300s)</b>
-              The  time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
+              The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the  queue
               manager; prior to Postfix 2.4 the default value was
               1000s.
 
@@ -397,37 +406,37 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b><a href="postconf.5.html#fast_flush_domains">fast_flush_domains</a> ($<a href="postconf.5.html#relay_domains">relay_domains</a>)</b>
               Optional list of destinations that are eligible for
-              per-destination  logfiles  with mail that is queued
+              per-destination logfiles with mail that  is  queued
               to those destinations.
 
 <b>VERP CONTROLS</b>
        The <a href="VERP_README.html">VERP_README</a> file describes configuration and operation
-       details  of  Postfix  support for variable envelope return
+       details of Postfix support for  variable  envelope  return
        path addresses.
 
        <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a> (+=)</b>
               The two default VERP delimiter characters.
 
        <b><a href="postconf.5.html#verp_delimiter_filter">verp_delimiter_filter</a> (-=+)</b>
-              The characters Postfix accepts  as  VERP  delimiter
-              characters  on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command line
+              The  characters  Postfix  accepts as VERP delimiter
+              characters on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command  line
               and in SMTP commands.
 
 <b>MISCELLANEOUS CONTROLS</b>
        <b><a href="postconf.5.html#alias_database">alias_database</a> (see 'postconf -d' output)</b>
-              The alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that  are
+              The  alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that are
               updated with "<b>newaliases</b>" or with "<b>sendmail -bi</b>".
 
        <b><a href="postconf.5.html#command_directory">command_directory</a> (see 'postconf -d' output)</b>
-              The  location  of  all  postfix administrative com-
+              The location of  all  postfix  administrative  com-
               mands.
 
        <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
-              The default location of  the  Postfix  <a href="postconf.5.html">main.cf</a>  and
+              The  default  location  of  the Postfix <a href="postconf.5.html">main.cf</a> and
               <a href="master.5.html">master.cf</a> configuration files.
 
        <b><a href="postconf.5.html#daemon_directory">daemon_directory</a> (see 'postconf -d' output)</b>
-              The  directory  with  Postfix  support programs and
+              The directory with  Postfix  support  programs  and
               daemon programs.
 
        <b><a href="postconf.5.html#default_database_type">default_database_type</a> (see 'postconf -d' output)</b>
@@ -435,16 +444,16 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               <a href="postalias.1.html"><b>postalias</b>(1)</a> and <a href="postmap.1.html"><b>postmap</b>(1)</a> commands.
 
        <b><a href="postconf.5.html#delay_warning_time">delay_warning_time</a> (0h)</b>
-              The  time  after which the sender receives the mes-
+              The time after which the sender receives  the  mes-
               sage headers of mail that is still queued.
 
        <b><a href="postconf.5.html#enable_errors_to">enable_errors_to</a> (no)</b>
-              Report mail delivery errors to the  address  speci-
-              fied   with  the  non-standard  Errors-To:  message
-              header, instead  of  the  envelope  sender  address
-              (this  feature is removed with Postfix version 2.2,
-              is turned off by default with Postfix version  2.1,
-              and  is  always  turned  on with older Postfix ver-
+              Report  mail  delivery errors to the address speci-
+              fied  with  the  non-standard  Errors-To:   message
+              header,  instead  of  the  envelope  sender address
+              (this feature is removed with Postfix version  2.2,
+              is  turned off by default with Postfix version 2.1,
+              and is always turned on  with  older  Postfix  ver-
               sions).
 
        <b><a href="postconf.5.html#mail_owner">mail_owner</a> (postfix)</b>
@@ -452,21 +461,21 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               and most Postfix daemon processes.
 
        <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
-              The  location of the Postfix top-level queue direc-
+              The location of the Postfix top-level queue  direc-
               tory.
 
        <b><a href="postconf.5.html#remote_header_rewrite_domain">remote_header_rewrite_domain</a> (empty)</b>
-              Don't rewrite message headers from  remote  clients
+              Don't  rewrite  message headers from remote clients
               at all when this parameter is empty; otherwise, re-
-              write message  headers  and  append  the  specified
+              write  message  headers  and  append  the specified
               domain name to incomplete addresses.
 
        <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
               The syslog facility of Postfix logging.
 
        <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
-              The  mail  system  name  that  is  prepended to the
-              process name in syslog  records,  so  that  "smtpd"
+              The mail system  name  that  is  prepended  to  the
+              process  name  in  syslog  records, so that "smtpd"
               becomes, for example, "postfix/smtpd".
 
 <b>FILES</b>
@@ -491,7 +500,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
        <a href="VERP_README.html">VERP_README</a>, Postfix VERP howto
 
 <b>LICENSE</b>
-       The Secure Mailer license must be  distributed  with  this
+       The  Secure  Mailer  license must be distributed with this
        software.
 
 <b>AUTHOR(S)</b>
index 23a7ce039114bdf5db2bea45fb1ed140d36ab5c3..69804ac420d8ea70e85b57ee66406be7bca34a8f 100644 (file)
@@ -15220,11 +15220,19 @@ Postfix 2.3 and later use <a href="postconf.5.html#smtpd_tls_security_level">smt
 <p>
 Safety net to keep mail queued that would otherwise be returned to
 the sender.  This parameter disables locally-generated bounces,
-and prevents the Postfix SMTP server from rejecting mail permanently,
+changes the handling of negative responses from remote servers,
+content filters or plugins,
+and prevents the Postfix SMTP server from rejecting mail permanently
 by changing 5xx reply codes into 4xx.  However, <a href="postconf.5.html#soft_bounce">soft_bounce</a> is no
 cure for address rewriting mistakes or mail routing mistakes.
 </p>
 
+<p>
+Note: "<a href="postconf.5.html#soft_bounce">soft_bounce</a> = yes" is in some cases implemented by modifying
+server responses. Therefore, the response that Postfix logs may
+differ from the response that Postfix actually sends or receives.
+</p>
+
 <p>
 Example:
 </p>
index 7dc5ccb3d3dd7dc764d315085b1d5727bf0ad41e..32de6bf2d17cda7cc3edc862c75fea0c9f158346 100644 (file)
@@ -217,45 +217,54 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               Postfix versions before 2.1, the <b>Errors-To:</b> message
               header overrides the error return address.
 
-       <b>-R</b> <i>return</i><b>_</b><i>limit</i> (ignored)
-              Limit  the  size   of   bounced   mail.   Use   the
-              <b><a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a></b>  configuration parameter instead.
+       <b>-R</b> <i>return</i>
+              Delivery  status  notification  control.    Specify
+              "hdrs"  to  return  only  the  header  if a message
+              bounces, "full" to return a full copy (the  default
+              behavior).
 
-       <b>-q</b>     Attempt to deliver all queued mail. This is  imple-
+              The  <b>-R</b>  option specifies an upper bound; for exam-
+              ple, Postfix will return only the  header,  when  a
+              full  copy  would exceed the <a href="postconf.5.html#bounce_size_limit">bounce_size_limit</a> set-
+              ting.
+
+              This option is ignored before Postfix version 2.10.
+
+       <b>-q</b>     Attempt  to deliver all queued mail. This is imple-
               mented by executing the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.
 
               Warning:  flushing  undeliverable  mail  frequently
-              will result in poor  delivery  performance  of  all
+              will  result  in  poor  delivery performance of all
               other mail.
 
        <b>-q</b><i>interval</i> (ignored)
-              The   interval   between   queue   runs.   Use  the
+              The  interval   between   queue   runs.   Use   the
               <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a></b> configuration parameter instead.
 
        <b>-qI</b><i>queueid</i>
               Schedule immediate delivery of mail with the speci-
-              fied  queue ID.  This option is implemented by exe-
-              cuting the <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and  is  available
+              fied queue ID.  This option is implemented by  exe-
+              cuting  the  <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command, and is available
               with Postfix version 2.4 and later.
 
        <b>-qR</b><i>site</i>
-              Schedule  immediate  delivery  of  all mail that is
+              Schedule immediate delivery of  all  mail  that  is
               queued for the named <i>site</i>. This option accepts only
-              <i>site</i>  names  that are eligible for the "fast flush"
-              service,  and  is  implemented  by  executing   the
+              <i>site</i> names that are eligible for the  "fast  flush"
+              service,   and  is  implemented  by  executing  the
               <a href="postqueue.1.html"><b>postqueue</b>(1)</a> command.  See <a href="flush.8.html"><b>flush</b>(8)</a> for more infor-
               mation about the "fast flush" service.
 
        <b>-qS</b><i>site</i>
-              This command is not  implemented.  Use  the  slower
+              This  command  is  not  implemented. Use the slower
               "<b>sendmail -q</b>" command instead.
 
-       <b>-t</b>     Extract  recipients from message headers. These are
-              added to any recipients specified  on  the  command
+       <b>-t</b>     Extract recipients from message headers. These  are
+              added  to  any  recipients specified on the command
               line.
 
-              With  Postfix  versions  prior  to 2.1, this option
-              requires that no recipient addresses are  specified
+              With Postfix versions prior  to  2.1,  this  option
+              requires  that no recipient addresses are specified
               on the command line.
 
        <b>-U</b> (ignored)
@@ -268,41 +277,41 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               This feature is available in Postfix 2.3 and later.
 
        <b>-XV</b> (Postfix 2.2 and earlier: <b>-V</b>)
-              Variable  Envelope  Return  Path. Given an envelope
-              sender address of the  form  <i>owner-listname</i>@<i>origin</i>,
-              each  recipient  <i>user</i>@<i>domain</i>  receives  mail with a
+              Variable Envelope Return Path.  Given  an  envelope
+              sender  address  of the form <i>owner-listname</i>@<i>origin</i>,
+              each recipient <i>user</i>@<i>domain</i>  receives  mail  with  a
               personalized envelope sender address.
 
-              By  default,  the  personalized   envelope   sender
-              address  is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>. The
-              default <b>+</b> and <b>=</b> characters  are  configurable  with
-              the  <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration parame-
+              By   default,   the  personalized  envelope  sender
+              address is  <i>owner-listname</i><b>+</b><i>user</i><b>=</b><i>domain</i>@<i>origin</i>.  The
+              default  <b>+</b>  and  <b>=</b> characters are configurable with
+              the <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration  parame-
               ter.
 
        <b>-XV</b><i>xy</i> (Postfix 2.2 and earlier: <b>-V</b><i>xy</i>)
-              As <b>-XV</b>, but uses <i>x</i> and  <i>y</i>  as  the  VERP  delimiter
-              characters,  instead  of  the  characters specified
-              with  the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>   configuration
+              As  <b>-XV</b>,  but  uses  <i>x</i>  and <i>y</i> as the VERP delimiter
+              characters, instead  of  the  characters  specified
+              with   the   <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a></b>  configuration
               parameter.
 
-       <b>-v</b>     Send  an email report of the first delivery attempt
-              (Postfix versions 2.1  and  later).  Mail  delivery
-              always  happens in the background. When multiple <b>-v</b>
+       <b>-v</b>     Send an email report of the first delivery  attempt
+              (Postfix  versions  2.1  and  later). Mail delivery
+              always happens in the background. When multiple  <b>-v</b>
               options  are  given,  enable  verbose  logging  for
               debugging purposes.
 
        <b>-X</b> <i>log</i><b>_</b><i>file</i> (ignored)
-              Log  mailer  traffic.  Use  the <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b> and
-              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b> configuration parameters  instead.
+              Log mailer traffic.  Use  the  <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a></b>  and
+              <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a></b>  configuration parameters instead.
 
 <b>SECURITY</b>
-       By  design,  this  program  is not set-user (or group) id.
-       However, it must  handle  data  from  untrusted,  possibly
-       remote,  users.   Thus,  the  usual precautions need to be
+       By design, this program is not  set-user  (or  group)  id.
+       However,  it  must  handle  data  from untrusted, possibly
+       remote, users.  Thus, the usual  precautions  need  to  be
        taken against malicious inputs.
 
 <b>DIAGNOSTICS</b>
-       Problems are logged to  <b>syslogd</b>(8)  and  to  the  standard
+       Problems  are  logged  to  <b>syslogd</b>(8)  and to the standard
        error stream.
 
 <b>ENVIRONMENT</b>
@@ -314,29 +323,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b>MAIL_DEBUG</b> (value does not matter)
               Enable debugging with an external command, as spec-
-              ified  with  the   <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>   configuration
+              ified   with   the  <b><a href="postconf.5.html#debugger_command">debugger_command</a></b>  configuration
               parameter.
 
-       <b>NAME</b>   The  sender  full name. This is used only with mes-
-              sages that have no <b>From:</b> message header.  See  also
+       <b>NAME</b>   The sender full name. This is used only  with  mes-
+              sages  that  have no <b>From:</b> message header. See also
               the <b>-F</b> option above.
 
 <b>CONFIGURATION PARAMETERS</b>
-       The  following  <a href="postconf.5.html"><b>main.cf</b></a> parameters are especially relevant
+       The following <a href="postconf.5.html"><b>main.cf</b></a> parameters are  especially  relevant
        to this program.  The text below provides only a parameter
-       summary.  See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including exam-
+       summary. See <a href="postconf.5.html"><b>postconf</b>(5)</a> for more details including  exam-
        ples.
 
 <b>COMPATIBILITY CONTROLS</b>
        Available with Postfix 2.9 and later:
 
        <b><a href="postconf.5.html#sendmail_fix_line_endings">sendmail_fix_line_endings</a> (always)</b>
-              Controls how the Postfix sendmail command  converts
-              email  message line endings from &lt;CR&gt;&lt;LF&gt; into UNIX
+              Controls  how the Postfix sendmail command converts
+              email message line endings from &lt;CR&gt;&lt;LF&gt; into  UNIX
               format (&lt;LF&gt;).
 
 <b>TROUBLE SHOOTING CONTROLS</b>
-       The <a href="DEBUG_README.html">DEBUG_README</a> file gives examples  of  how  to  trouble
+       The  <a href="DEBUG_README.html">DEBUG_README</a>  file  gives  examples of how to trouble
        shoot a Postfix system.
 
        <b><a href="postconf.5.html#debugger_command">debugger_command</a> (empty)</b>
@@ -344,29 +353,29 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               mon program is invoked with the -D option.
 
        <b><a href="postconf.5.html#debug_peer_level">debug_peer_level</a> (2)</b>
-              The increment  in  verbose  logging  level  when  a
-              remote  client  or  server matches a pattern in the
+              The  increment  in  verbose  logging  level  when a
+              remote client or server matches a  pattern  in  the
               <a href="postconf.5.html#debug_peer_list">debug_peer_list</a> parameter.
 
        <b><a href="postconf.5.html#debug_peer_list">debug_peer_list</a> (empty)</b>
-              Optional list of remote client or  server  hostname
-              or  network address patterns that cause the verbose
-              logging level to increase by the  amount  specified
+              Optional  list  of remote client or server hostname
+              or network address patterns that cause the  verbose
+              logging  level  to increase by the amount specified
               in $<a href="postconf.5.html#debug_peer_level">debug_peer_level</a>.
 
 <b>ACCESS CONTROLS</b>
        Available in Postfix version 2.2 and later:
 
        <b><a href="postconf.5.html#authorized_flush_users">authorized_flush_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are  authorized  to flush the
+              List of users  who  are  authorized  to  flush  the
               queue.
 
        <b><a href="postconf.5.html#authorized_mailq_users">authorized_mailq_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
               List of users who are authorized to view the queue.
 
        <b><a href="postconf.5.html#authorized_submit_users">authorized_submit_users</a> (<a href="DATABASE_README.html#types">static</a>:anyone)</b>
-              List  of  users  who  are authorized to submit mail
-              with the <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with  the  privi-
+              List of users who are  authorized  to  submit  mail
+              with  the  <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command (and with the privi-
               leged <a href="postdrop.1.html"><b>postdrop</b>(1)</a> helper command).
 
 <b>RESOURCE AND RATE CONTROLS</b>
@@ -375,7 +384,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               sent in a non-delivery notification.
 
        <b><a href="postconf.5.html#fork_attempts">fork_attempts</a> (5)</b>
-              The maximal number of attempts to  fork()  a  child
+              The  maximal  number  of attempts to fork() a child
               process.
 
        <b><a href="postconf.5.html#fork_delay">fork_delay</a> (1s)</b>
@@ -383,11 +392,11 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               process.
 
        <b><a href="postconf.5.html#hopcount_limit">hopcount_limit</a> (50)</b>
-              The maximal number of  Received:   message  headers
+              The  maximal  number  of Received:  message headers
               that is allowed in the primary message headers.
 
        <b><a href="postconf.5.html#queue_run_delay">queue_run_delay</a> (300s)</b>
-              The  time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the queue
+              The time between <a href="QSHAPE_README.html#deferred_queue">deferred queue</a> scans by the  queue
               manager; prior to Postfix 2.4 the default value was
               1000s.
 
@@ -397,37 +406,37 @@ SENDMAIL(1)                                                        SENDMAIL(1)
 
        <b><a href="postconf.5.html#fast_flush_domains">fast_flush_domains</a> ($<a href="postconf.5.html#relay_domains">relay_domains</a>)</b>
               Optional list of destinations that are eligible for
-              per-destination  logfiles  with mail that is queued
+              per-destination logfiles with mail that  is  queued
               to those destinations.
 
 <b>VERP CONTROLS</b>
        The <a href="VERP_README.html">VERP_README</a> file describes configuration and operation
-       details  of  Postfix  support for variable envelope return
+       details of Postfix support for  variable  envelope  return
        path addresses.
 
        <b><a href="postconf.5.html#default_verp_delimiters">default_verp_delimiters</a> (+=)</b>
               The two default VERP delimiter characters.
 
        <b><a href="postconf.5.html#verp_delimiter_filter">verp_delimiter_filter</a> (-=+)</b>
-              The characters Postfix accepts  as  VERP  delimiter
-              characters  on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command line
+              The  characters  Postfix  accepts as VERP delimiter
+              characters on the Postfix <a href="sendmail.1.html"><b>sendmail</b>(1)</a> command  line
               and in SMTP commands.
 
 <b>MISCELLANEOUS CONTROLS</b>
        <b><a href="postconf.5.html#alias_database">alias_database</a> (see 'postconf -d' output)</b>
-              The alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that  are
+              The  alias databases for <a href="local.8.html"><b>local</b>(8)</a> delivery that are
               updated with "<b>newaliases</b>" or with "<b>sendmail -bi</b>".
 
        <b><a href="postconf.5.html#command_directory">command_directory</a> (see 'postconf -d' output)</b>
-              The  location  of  all  postfix administrative com-
+              The location of  all  postfix  administrative  com-
               mands.
 
        <b><a href="postconf.5.html#config_directory">config_directory</a> (see 'postconf -d' output)</b>
-              The default location of  the  Postfix  <a href="postconf.5.html">main.cf</a>  and
+              The  default  location  of  the Postfix <a href="postconf.5.html">main.cf</a> and
               <a href="master.5.html">master.cf</a> configuration files.
 
        <b><a href="postconf.5.html#daemon_directory">daemon_directory</a> (see 'postconf -d' output)</b>
-              The  directory  with  Postfix  support programs and
+              The directory with  Postfix  support  programs  and
               daemon programs.
 
        <b><a href="postconf.5.html#default_database_type">default_database_type</a> (see 'postconf -d' output)</b>
@@ -435,16 +444,16 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               <a href="postalias.1.html"><b>postalias</b>(1)</a> and <a href="postmap.1.html"><b>postmap</b>(1)</a> commands.
 
        <b><a href="postconf.5.html#delay_warning_time">delay_warning_time</a> (0h)</b>
-              The  time  after which the sender receives the mes-
+              The time after which the sender receives  the  mes-
               sage headers of mail that is still queued.
 
        <b><a href="postconf.5.html#enable_errors_to">enable_errors_to</a> (no)</b>
-              Report mail delivery errors to the  address  speci-
-              fied   with  the  non-standard  Errors-To:  message
-              header, instead  of  the  envelope  sender  address
-              (this  feature is removed with Postfix version 2.2,
-              is turned off by default with Postfix version  2.1,
-              and  is  always  turned  on with older Postfix ver-
+              Report  mail  delivery errors to the address speci-
+              fied  with  the  non-standard  Errors-To:   message
+              header,  instead  of  the  envelope  sender address
+              (this feature is removed with Postfix version  2.2,
+              is  turned off by default with Postfix version 2.1,
+              and is always turned on  with  older  Postfix  ver-
               sions).
 
        <b><a href="postconf.5.html#mail_owner">mail_owner</a> (postfix)</b>
@@ -452,21 +461,21 @@ SENDMAIL(1)                                                        SENDMAIL(1)
               and most Postfix daemon processes.
 
        <b><a href="postconf.5.html#queue_directory">queue_directory</a> (see 'postconf -d' output)</b>
-              The  location of the Postfix top-level queue direc-
+              The location of the Postfix top-level queue  direc-
               tory.
 
        <b><a href="postconf.5.html#remote_header_rewrite_domain">remote_header_rewrite_domain</a> (empty)</b>
-              Don't rewrite message headers from  remote  clients
+              Don't  rewrite  message headers from remote clients
               at all when this parameter is empty; otherwise, re-
-              write message  headers  and  append  the  specified
+              write  message  headers  and  append  the specified
               domain name to incomplete addresses.
 
        <b><a href="postconf.5.html#syslog_facility">syslog_facility</a> (mail)</b>
               The syslog facility of Postfix logging.
 
        <b><a href="postconf.5.html#syslog_name">syslog_name</a> (see 'postconf -d' output)</b>
-              The  mail  system  name  that  is  prepended to the
-              process name in syslog  records,  so  that  "smtpd"
+              The mail system  name  that  is  prepended  to  the
+              process  name  in  syslog  records, so that "smtpd"
               becomes, for example, "postfix/smtpd".
 
 <b>FILES</b>
@@ -491,7 +500,7 @@ SENDMAIL(1)                                                        SENDMAIL(1)
        <a href="VERP_README.html">VERP_README</a>, Postfix VERP howto
 
 <b>LICENSE</b>
-       The Secure Mailer license must be  distributed  with  this
+       The  Secure  Mailer  license must be distributed with this
        software.
 
 <b>AUTHOR(S)</b>
index ae11e70e6975ca6ee4bb5ccb856b21327ed9cca7..9d16aa23a4681b9c1b377423b5636cce09a49da2 100644 (file)
@@ -179,9 +179,16 @@ configuration parameter in \fBmain.cf\fR instead.
 Set the envelope sender address. This is the address where
 delivery problems are sent to. With Postfix versions before 2.1, the
 \fBErrors-To:\fR message header overrides the error return address.
-.IP "\fB-R \fIreturn_limit\fR (ignored)"
-Limit the size of bounced mail. Use the \fBbounce_size_limit\fR
-configuration parameter instead.
+.IP "\fB-R \fIreturn\fR"
+Delivery status notification control.  Specify "hdrs" to
+return only the header if a message bounces, "full" to
+return a full copy (the default behavior).
+
+The \fB-R\fR option specifies an upper bound; for example,
+Postfix will return only the header, when a full copy would
+exceed the bounce_size_limit setting.
+
+This option is ignored before Postfix version 2.10.
 .IP \fB-q\fR
 Attempt to deliver all queued mail. This is implemented by
 executing the \fBpostqueue\fR(1) command.
index 2e2b9190d689d0b71f80054dda7ffcaef085cce3..76f1c736acf1b14a63627d3be53d6288fa7eebf3 100644 (file)
@@ -9849,10 +9849,16 @@ Postfix 2.3 and later use smtpd_tls_security_level instead.
 .SH soft_bounce (default: no)
 Safety net to keep mail queued that would otherwise be returned to
 the sender.  This parameter disables locally-generated bounces,
-and prevents the Postfix SMTP server from rejecting mail permanently,
+changes the handling of negative responses from remote servers,
+content filters or plugins,
+and prevents the Postfix SMTP server from rejecting mail permanently
 by changing 5xx reply codes into 4xx.  However, soft_bounce is no
 cure for address rewriting mistakes or mail routing mistakes.
 .PP
+Note: "soft_bounce = yes" is in some cases implemented by modifying
+server responses. Therefore, the response that Postfix logs may
+differ from the response that Postfix actually sends or receives.
+.PP
 Example:
 .PP
 .nf
index cf5ed5eed35681c56035b53f9912c851dc3dc98d..25f83538df762d83214cd53a7a8642b730779541 100644 (file)
@@ -204,12 +204,13 @@ confused with a "<i>type:table</i>" pattern. </b>  </p>
 
 <ul>
 
-<li> <p> The order of IPv6/IPv4 outgoing connection attempts is
-not yet configurable.  Currently, IPv6 is tried before IPv4. </p>
+<li> <p> Postfix SMTP clients before version 2.8 try to connect
+over IPv6 before trying IPv4.  With more recent Postfix versions,
+the order of IPv6 versus IPv4 outgoing connection attempts is
+configurable with the smtp_address_preference parameter.  </p>
 
-<li> <p> Postfix currently does not support DNSBL (real-time
-blackhole list) lookups for IPv6 client IP addresses; currently
-there are no blacklists that cover the IPv6 address space. </p>
+<li> <p> Postfix versions before 2.6 do not support DNSBL (real-time
+blackhole list) lookups for IPv6 client IP addresses. </p>
 
 <li> <p> IPv6 does not have class A, B, C, etc. networks. With IPv6
 networks, the setting "mynetworks_style = class" has the
index 6db154b0c3102666df4222d296c705bc02a65fe0..c99cc08b11b12605d76f9993eddf09d243a26c86 100644 (file)
@@ -17,6 +17,9 @@
 
 <h2> <a name="intro">Introduction</a> </h2>
 
+<p> This document describes features that are available in Postfix
+2.8 and later. </p>
+
 <p> The Postfix postscreen(8) daemon provides additional protection
 against mail server overload. One postscreen(8) process handles
 multiple inbound SMTP connections, and decides which clients may
index 063321020a0a5adf62235693e7165538f9b5a6ed..118db3adb449509b85b8709fdd98457ca5a3baaf 100644 (file)
@@ -2123,8 +2123,9 @@ font, and a "<tt>#</tt>" prompt indicates a super-user shell. </p>
 
 <li> <p> Become your own Certificate Authority, so that you can
 sign your own public keys. This example uses the CA.pl script that
-ships with OpenSSL.  By default, OpenSSL installs this as
-<tt>/usr/local/ssl/misc/CA.pl</tt>, but your mileage may vary. 
+ships with OpenSSL.  On some systems, OpenSSL installs this as
+<tt>/usr/local/ssl/misc/CA.pl</tt>. Some systems install this as
+part of a package named <tt>openssl-perl</tt> or something similar.
 The script creates a private key in <tt>./demoCA/private/cakey.pem</tt>
 and a public key in <tt>./demoCA/cacert.pem</tt>.</p>
 
index 09a362a967dcca18b5903274d8815250f436c58a..ca3d7d7c9a69cc08e054ae2b693f1bf4817b898a 100644 (file)
@@ -137,10 +137,8 @@ the DNS requests or replies.  </p>
 
 <li> <p> If the number of smtpd(8) processes has reached the process
 limit as specified in master.cf, new SMTP clients must wait until
-a process becomes available.  Increase the number of processes if
-memory permits. See the instructions given under "<a
-href="#proc_limit">Tuning the number of Postfix processes</a>".
-</p>
+a process becomes available.  See the STRESS_README and POSTSCREEN_README
+documents for measures that help to prevent SMTP server overload.  </p>
 
 </ul>
 
@@ -391,7 +389,7 @@ default. They should be used only for transports that deliver mail
 to a small number of high volume domains.  </p>
 
 <p> A common situation where high concurrency is called for is on
-gateways relaying a high volume of mail from between the Internet
+gateways relaying a high volume of mail between the Internet
 and an intranet mail environment. Approximately half the mail
 (assuming equal volumes inbound and outbound) will be destined
 for the internal mail hubs.  Since the internal mail hubs will be
@@ -441,7 +439,7 @@ recipients into smaller lists. Postfix will attempt to send multiple
 copies of the message in parallel. </p>
 
 <p> IMPORTANT: Be careful when increasing the recipient limit per
-message delivery; some smtpd(8) servers abort the connection when they
+message delivery; some SMTP servers abort the connection when they
 run out of memory or when a hard recipient limit is reached, so
 that the message will never be delivered. </p>
 
@@ -568,13 +566,13 @@ and so on: </p>
 </blockquote>
 
 <p> You need to execute "postfix reload" to make the change effective.
-The limits are enforced by the Postfix master(8) daemon which does
+This limit is enforced by the Postfix master(8) daemon which does
 not automatically read main.cf when it changes. </p>
 
 <p> You can override the process limit for specific Postfix daemons
 by editing the master.cf file.  For example, if you do not wish to
 receive 100 SMTP messages at the same time, but do not want to
-change the process limits for local mail deliveries, you could
+change the process limits for other Postfix daemons, you could
 specify: </p>
 
 <blockquote>
index 0b9b040523774cb11f89fa9e97803d868d5d685c..df84dc128876259c72371eec62ff5b9f35769051 100644 (file)
@@ -6248,11 +6248,19 @@ The default time unit is s (seconds).
 <p>
 Safety net to keep mail queued that would otherwise be returned to
 the sender.  This parameter disables locally-generated bounces,
-and prevents the Postfix SMTP server from rejecting mail permanently,
+changes the handling of negative responses from remote servers,
+content filters or plugins,
+and prevents the Postfix SMTP server from rejecting mail permanently
 by changing 5xx reply codes into 4xx.  However, soft_bounce is no
 cure for address rewriting mistakes or mail routing mistakes.
 </p>
 
+<p>
+Note: "soft_bounce = yes" is in some cases implemented by modifying
+server responses. Therefore, the response that Postfix logs may
+differ from the response that Postfix actually sends or receives.
+</p>
+
 <p>
 Example:
 </p>
index 74e37ec06dcfed2673be2564b07a19385f6a6bd8..6d55f5da87dc212d9f34644f377c835a7dd0ffa2 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20120801"
+#define MAIL_RELEASE_DATE      "20120902"
 #define MAIL_VERSION_NUMBER    "2.10"
 
 #ifdef SNAPSHOT
index 3edb5fcbd9f7eaa106681411b039bb86f9dda75f..f6668cdc88123ef73915bf7e6e45b0deab7a9a4c 100644 (file)
@@ -68,7 +68,7 @@
 #define REC_TYPE_VERP  'V'             /* VERP delimiters */
 
 #define REC_TYPE_DSN_RET       '<'     /* DSN full/hdrs */
-#define REC_TYPE_DSN_ENVID     'i'     /* DSN full/hdrs */
+#define REC_TYPE_DSN_ENVID     'i'     /* DSN envelope id */
 #define REC_TYPE_DSN_ORCPT     'o'     /* DSN orig rcpt address */
 #define REC_TYPE_DSN_NOTIFY    'n'     /* DSN notify flags */
 
index d0bc76dee4f5ccf194c665e66a70fc1eb5f49f12..c7394cd67029cb53f5665f5b61992392585b8a65 100644 (file)
 /*     Set the envelope sender address. This is the address where
 /*     delivery problems are sent to. With Postfix versions before 2.1, the
 /*     \fBErrors-To:\fR message header overrides the error return address.
-/* .IP "\fB-R \fIreturn_limit\fR (ignored)"
-/*     Limit the size of bounced mail. Use the \fBbounce_size_limit\fR
-/*     configuration parameter instead.
+/* .IP "\fB-R \fIreturn\fR"
+/*     Delivery status notification control.  Specify "hdrs" to
+/*     return only the header if a message bounces, "full" to
+/*     return a full copy (the default behavior).
+/*
+/*     The \fB-R\fR option specifies an upper bound; for example,
+/*     Postfix will return only the header, when a full copy would
+/*     exceed the bounce_size_limit setting.
+/*
+/*     This option is ignored before Postfix version 2.10.
 /* .IP \fB-q\fR
 /*     Attempt to deliver all queued mail. This is implemented by
 /*     executing the \fBpostqueue\fR(1) command.
@@ -605,7 +612,7 @@ static void output_header(void *context, int header_class,
 /* enqueue - post one message */
 
 static void enqueue(const int flags, const char *encoding,
-                           const char *dsn_envid, int dsn_notify,
+                        const char *dsn_envid, int dsn_notify, int dsn_ret,
                            const char *rewrite_context, const char *sender,
                            const char *full_name, char **recipients)
 {
@@ -744,6 +751,9 @@ static void enqueue(const int flags, const char *encoding,
                    if (dsn_notify)
                        rec_fprintf(dst, REC_TYPE_ATTR, "%s=%d",
                                    MAIL_ATTR_DSN_NOTIFY, dsn_notify);
+                   if (dsn_ret)
+                       rec_fprintf(dst, REC_TYPE_ATTR, "%s=%d",
+                                   MAIL_ATTR_DSN_RET, dsn_ret);
                    if (REC_PUT_BUF(dst, REC_TYPE_RCPT, buf) < 0)
                        msg_fatal_status(EX_TEMPFAIL,
                                    "%s(%ld): error writing queue file: %m",
@@ -883,6 +893,10 @@ static void enqueue(const int flags, const char *encoding,
            if (dsn_notify)
                rec_fprintf(dst, REC_TYPE_ATTR, "%s=%d",
                            MAIL_ATTR_DSN_NOTIFY, dsn_notify);
+           if (dsn_ret)
+               rec_fprintf(dst, REC_TYPE_ATTR, "%s=%d",
+                           MAIL_ATTR_DSN_RET, dsn_ret);
+
            if (rec_put(dst, REC_TYPE_RCPT, *cpp, strlen(*cpp)) < 0)
                msg_fatal_status(EX_TEMPFAIL,
                                 "%s(%ld): error writing queue file: %m",
@@ -970,6 +984,7 @@ int     main(int argc, char **argv)
     uid_t   uid;
     const char *rewrite_context = MAIL_ATTR_RWR_LOCAL;
     int     dsn_notify = 0;
+    int     dsn_ret = 0;
     const char *dsn_envid = 0;
     int     saved_optind;
 
@@ -1162,6 +1177,10 @@ int     main(int argc, char **argv)
            if ((dsn_notify = dsn_notify_mask(optarg)) == 0)
                msg_warn("bad -N option value -- ignored");
            break;
+       case 'R':
+           if ((dsn_ret = dsn_ret_code(optarg)) == 0)
+               msg_warn("bad -R option value -- ignored");
+           break;
        case 'V':                               /* DSN, was: VERP */
            if (strlen(optarg) > 100)
                msg_warn("too long -V option value -- ignored");
@@ -1289,6 +1308,8 @@ int     main(int argc, char **argv)
            msg_fatal_status(EX_USAGE, "-t option cannot be used with -bv");
        if (dsn_notify)
            msg_fatal_status(EX_USAGE, "-N option cannot be used with -bv");
+       if (dsn_ret)
+           msg_fatal_status(EX_USAGE, "-R option cannot be used with -bv");
        if (msg_verbose == 1)
            msg_fatal_status(EX_USAGE, "-v option cannot be used with -bv");
     }
@@ -1333,7 +1354,7 @@ int     main(int argc, char **argv)
            mail_run_replace(var_command_dir, ext_argv->argv);
            /* NOTREACHED */
        } else {
-           enqueue(flags, encoding, dsn_envid, dsn_notify,
+           enqueue(flags, encoding, dsn_envid, dsn_notify, dsn_ret,
                    rewrite_context, sender, full_name, argv + OPTIND);
            exit(0);
            /* NOTREACHED */