]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.9-20110323
authorWietse Venema <wietse@porcupine.org>
Wed, 23 Mar 2011 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:37:20 +0000 (06:37 +0000)
postfix/HISTORY
postfix/WISHLIST
postfix/auxiliary/qshape/qshape.pl
postfix/html/postsuper.1.html
postfix/man/man1/postsuper.1
postfix/src/global/mail_version.h
postfix/src/postsuper/postsuper.c

index 7137d82c492fb3addd4b06b4fbcd2bf60bb27a64..6b1ca98866be8298d3377ec04417db911bf78122 100644 (file)
@@ -16745,3 +16745,11 @@ Apologies for any names omitted.
        long->short or short->short queue file names.  As a side
        benefit, renaming long->short queue IDs will not change the
        result from queue hashing.  File: postsuper/postsuper.c.
+
+20110323
+
+       Bitrot: qshape regexp pattern for long queue file names.
+       Ralf Hildebrandt. File: auxiliary/qshape/qshape.pl.
+
+       Bitrot: text about queue ID reuse in the postsuper manpage.
+       File: postsuper/postsuper.c.
index bf1570fd3e0f1932e729772d2de85513fc02fa0f..ebcbabc1eeb9550aa0f3a959c84030f18aa53a5e 100644 (file)
@@ -17,6 +17,12 @@ Wish list:
        times. Individual "pass" flags are still needed as proof
        that the client didn't skip tests by hanging up early.
 
+       In the SMTP server, check if the connection is closed before
+       replying to ".", and discard the message if the reply can't
+       be sent. This reduces the time window for RFC 1047 message
+       duplication, and may even prevent the delivery of some spam.
+       http://www.exim.org/lurker/message/20070416.103159.9d5ff0ce.en.html
+
        postconf command-line option to show the compile-time
        settings (CCARGS, AUXLIBS) in case binary packages
        don't install the makedefs.out file.
index 243df445a70d86243bfe71d7724ec27d8256e009..2ad88e1794b8637d63d2e7890e1dbe4da4734aca 100644 (file)
@@ -212,7 +212,7 @@ sub rec_get {
 
 sub qenv {
     my ($qfile) = @_;
-    return unless $qfile =~ m{(^|/)[A-F0-9]{6,}$};
+    return unless $qfile =~ m{(^|/)[A-Za-z0-9]{6,}$};
     my @st = lstat($qfile);
     return unless (@st > 0 && -f _ && (($st[2] & 0733) == 0700));
 
index 1421c48ebf440ff26e2f640f3d1311c01fc069f4..c7afceb54d817a2a366c977d2f70173168171620 100644 (file)
@@ -56,10 +56,12 @@ POSTSUPER(1)                                                      POSTSUPER(1)
               in  the  <b>deferred</b>  queue.  As a safety measure, the
               word <b>ALL</b> must be specified in upper case.
 
-              Warning: Postfix queue IDs are reused.  There is  a
-              very  small  possibility that postsuper deletes the
-              wrong message file when it is  executed  while  the
-              Postfix mail system is delivering mail.
+              Warning: Postfix queue IDs are reused (always  with
+              Postfix  &lt;=  2.8;  and  with  Postfix  &gt;=  2.9 when
+              <a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>=no).  There is a  very  small
+              possibility  that  postsuper deletes the wrong mes-
+              sage file when it is  executed  while  the  Postfix
+              mail system is delivering mail.
 
               The scenario is as follows:
 
@@ -166,11 +168,12 @@ POSTSUPER(1)                                                      POSTSUPER(1)
                      new local mail submissions.  This is  useful
                      when <a href="postconf.5.html#content_filter">content_filter</a> settings have changed.
 
-              Warning:  Postfix queue IDs are reused.  There is a
-              very small possibility that  <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  requeues
-              the  wrong  message  file when it is executed while
-              the Postfix mail system is  running,  but  no  harm
-              should be done.
+              Warning:  Postfix queue IDs are reused (always with
+              Postfix &lt;=  2.8;  and  with  Postfix  &gt;=  2.9  when
+              <a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a>=no).   There  is a very small
+              possibility that <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  requeues  the  wrong
+              message  file when it is executed while the Postfix
+              mail system is running, but no harm should be done.
 
               This feature is available in Postfix 1.1 and later.
 
@@ -205,20 +208,21 @@ POSTSUPER(1)                                                      POSTSUPER(1)
 
        <b>-S</b>     A  redundant  version of <b>-s</b> that requires that long
               file names also match the message file  inode  num-
-              ber. This option exists for testing purposes.
+              ber.  This  option exists for testing purposes, and
+              is available with Postfix 2.9 and later.
 
        <b>-v</b>     Enable verbose logging for debugging purposes. Mul-
-              tiple <b>-v</b> options  make  the  software  increasingly
+              tiple  <b>-v</b>  options  make  the software increasingly
               verbose.
 
 <b>DIAGNOSTICS</b>
-       Problems  are reported to the standard error stream and to
+       Problems are reported to the standard error stream and  to
        <b>syslogd</b>(8).
 
-       <a href="postsuper.1.html"><b>postsuper</b>(1)</a> reports the number of messages  deleted  with
-       <b>-d</b>,  the number of messages requeued with <b>-r</b>, and the num-
-       ber of messages whose queue file name was fixed  with  <b>-s</b>.
-       The  report is written to the standard error stream and to
+       <a href="postsuper.1.html"><b>postsuper</b>(1)</a>  reports  the number of messages deleted with
+       <b>-d</b>, the number of messages requeued with <b>-r</b>, and the  num-
+       ber  of  messages whose queue file name was fixed with <b>-s</b>.
+       The report is written to the standard error stream and  to
        <b>syslogd</b>(8).
 
 <b>ENVIRONMENT</b>
@@ -226,43 +230,43 @@ POSTSUPER(1)                                                      POSTSUPER(1)
               Directory with the <a href="postconf.5.html"><b>main.cf</b></a> file.
 
 <b>BUGS</b>
-       Mail that is not sanitized by Postfix (i.e.  mail  in  the
+       Mail  that  is  not sanitized by Postfix (i.e. mail in the
        <b>maildrop</b> queue) cannot be placed "on hold".
 
 <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><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#hash_queue_depth">hash_queue_depth</a> (1)</b>
-              The  number of subdirectory levels for queue direc-
-              tories listed with the <a href="postconf.5.html#hash_queue_names">hash_queue_names</a>  parameter.
+              The number of subdirectory levels for queue  direc-
+              tories  listed with the <a href="postconf.5.html#hash_queue_names">hash_queue_names</a> parameter.
 
        <b><a href="postconf.5.html#hash_queue_names">hash_queue_names</a> (deferred, defer)</b>
-              The  names  of  queue  directories  that  are split
+              The names  of  queue  directories  that  are  split
               across multiple subdirectory levels.
 
        <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#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".
 
        Available in Postfix version 2.9 and later:
 
        <b><a href="postconf.5.html#enable_long_queue_ids">enable_long_queue_ids</a> (no)</b>
-              Enable  long,  non-repeating, queue IDs (queue file
+              Enable long, non-repeating, queue IDs  (queue  file
               names).
 
 <b>SEE ALSO</b>
@@ -270,7 +274,7 @@ POSTSUPER(1)                                                      POSTSUPER(1)
        <a href="postqueue.1.html">postqueue(1)</a>, unprivileged queue operations
 
 <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 093315de348c0f6537e3237c2f0ed08e28d70850..861c0d885ed66792dd4b31e1af5c49eb6236967c 100644 (file)
@@ -55,7 +55,8 @@ Specify "\fB-d ALL\fR" to remove all messages; for example, specify
 As a safety measure, the word \fBALL\fR must be specified in upper
 case.
 .sp
-Warning: Postfix queue IDs are reused.
+Warning: Postfix queue IDs are reused (always with Postfix
+<= 2.8; and with Postfix >= 2.9 when enable_long_queue_ids=no).
 There is a very small possibility that postsuper deletes the
 wrong message file when it is executed while the Postfix mail
 system is delivering mail.
@@ -154,7 +155,8 @@ The message is subjected to the same content_filter settings
 useful when content_filter settings have changed.
 .RE
 .IP
-Warning: Postfix queue IDs are reused.
+Warning: Postfix queue IDs are reused (always with Postfix
+<= 2.8; and with Postfix >= 2.9 when enable_long_queue_ids=no).
 There is a very small possibility that \fBpostsuper\fR(1) requeues
 the wrong message file when it is executed while the Postfix mail
 system is running, but no harm should be done.
@@ -195,7 +197,8 @@ file name changes.
 .IP \fB-S\fR
 A redundant version of \fB-s\fR that requires that long
 file names also match the message file inode number. This
-option exists for testing purposes.
+option exists for testing purposes, and is available with
+Postfix 2.9 and later.
 .IP \fB-v\fR
 Enable verbose logging for debugging purposes. Multiple \fB-v\fR
 options make the software increasingly verbose.
index e2beacd038d47b247c2ddea42258e110e93baae3..5f209744842cb4998799b8b22c7c05432c5d24a3 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      "20110322"
+#define MAIL_RELEASE_DATE      "20110323"
 #define MAIL_VERSION_NUMBER    "2.9"
 
 #ifdef SNAPSHOT
index c8ebb947d09daed991d78eb90ed73e39605eba7d..fba2f1a39636c315ef5658d67722e267fa80fbec 100644 (file)
@@ -49,7 +49,8 @@
 /*     As a safety measure, the word \fBALL\fR must be specified in upper
 /*     case.
 /* .sp
-/*     Warning: Postfix queue IDs are reused.
+/*     Warning: Postfix queue IDs are reused (always with Postfix
+/*     <= 2.8; and with Postfix >= 2.9 when enable_long_queue_ids=no).
 /*     There is a very small possibility that postsuper deletes the
 /*     wrong message file when it is executed while the Postfix mail
 /*     system is delivering mail.
 /*     useful when content_filter settings have changed.
 /* .RE
 /* .IP
-/*     Warning: Postfix queue IDs are reused.
+/*     Warning: Postfix queue IDs are reused (always with Postfix
+/*     <= 2.8; and with Postfix >= 2.9 when enable_long_queue_ids=no).
 /*     There is a very small possibility that \fBpostsuper\fR(1) requeues
 /*     the wrong message file when it is executed while the Postfix mail
 /*     system is running, but no harm should be done.
 /* .IP \fB-S\fR
 /*     A redundant version of \fB-s\fR that requires that long
 /*     file names also match the message file inode number. This
-/*     option exists for testing purposes.
+/*     option exists for testing purposes, and is available with
+/*     Postfix 2.9 and later.
 /* .IP \fB-v\fR
 /*     Enable verbose logging for debugging purposes. Multiple \fB-v\fR
 /*     options make the software increasingly verbose.