2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-22 18:07:41 +00:00

postfix-2.9-20110323

This commit is contained in:
Wietse Venema 2011-03-23 00:00:00 -05:00 committed by Viktor Dukhovni
parent 35087af1fc
commit cff1986fb3
7 changed files with 60 additions and 36 deletions

View 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.

View 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.

View 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));

View 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>

View 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.

View 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

View 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.
@ -148,7 +149,8 @@
/* 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.
@ -189,7 +191,8 @@
/* .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.