diff --git a/postfix/HISTORY b/postfix/HISTORY
index 5b48437ed..ef773ce67 100644
--- a/postfix/HISTORY
+++ b/postfix/HISTORY
@@ -5126,8 +5126,16 @@ Apologies for any names omitted.
the showq command was extended to safely list the possibly
world-writable maildrop directory. File: showq/showq.c.
+20010504
+
+ Feature: postsuper -d will also delete defer and bounce
+ logfiles when the named queue file is found.
+
20010505
+ RFC 2821 feature: an SMTP server must reset all buffers
+ upon receipt of EHLO. File: smtpd/smtpd_check.c.
+
RFC 2821 feature: an SMTP server must accept a recipient
address of "postmaster" without domain name. File:
smtpd/smtpd_check.c.
@@ -5136,13 +5144,13 @@ Apologies for any names omitted.
after 554 greeting. File: smtpd/smtpd.c.
RFC 2821 recommendation: if VRFY is enabled, list it in
- the EHLO response.
+ the EHLO response. File: smtpd/smtpd.c.
RFC 2821 recommendation: SMTP clients should use EHLO.
The default setting of smtp_always_send_ehlo has changed
from 0 (send EHLO if server greets with ESMTP) to 1 (always
- greet with EHLO). In all cases, Postfix falls back to HELO
- if the remote host does not support EHLO.
+ send EHLO). In all cases, Postfix falls back to HELO if
+ the server does not support EHLO. File: smtp/smtp_proto.c.
20010507
@@ -5158,9 +5166,9 @@ Apologies for any names omitted.
20010520
- Standard: deleted the "via" portion from Received: headers
- generated by Postfix bounce or other notification processes.
- File: global/post_mail.c.
+ Standard: deleted the non-standard "via" portion from
+ Received: headers generated by Postfix bounce or other
+ notification processes. File: global/post_mail.c.
Robustness: eliminated stack-based recursion from the RFC
822 address parser. File: global/tok822_parse.c.
@@ -5168,8 +5176,24 @@ Apologies for any names omitted.
Standard: annotated the source code with comments based on
RFC 2821 and 2822. Not all the changes make sense.
+ RFC 2821 recommendation: treat a RCPT 552 reply as if the
+ server sent 452. Files: smtp/smtp_proto.c, lmtp/lmtp_proto.c.
+
Cleanup: moved ownership of the debug_peer parameters from
the applications to the library, so that a Postfix shared
library does not suffer from undefined references. Files:
smtp/smtp.c, lmtp/lmtp.c, smtpd/smtpd.c, global/mail_params.c.
LaMont Jones, for Debian.
+
+20010522
+
+ Feature: "postsuper -r queueID" re-queues a message. The
+ message is moved to the maildrop queue so that the pickup
+ daemon will copy it to a new file with the "right" name
+ that matches the queue file inode number, and so that
+ address rewriting will be done again. This is useful after
+ changes of address rewriting or virtual mappings.
+
+ Feature: "postsuper -R" re-queues all mail. This is useful
+ after restoring a Postfix queue from another machine, or
+ from backup.
diff --git a/postfix/RELEASE_NOTES b/postfix/RELEASE_NOTES
index 47940a31d..9fc8bffe8 100644
--- a/postfix/RELEASE_NOTES
+++ b/postfix/RELEASE_NOTES
@@ -1,3 +1,31 @@
+Incompatible changes with snapshot-20010522
+===========================================
+
+The Postfix SMTP server always sends EHLO at the beginning of an
+SMTP session. Specify "smtp_always_send_ehlo = no" for the old
+behavior, which is to send EHLO only when the server greeting banner
+contains the word ESMTP.
+
+Specifying EHLO in the middle of an SMTP session resets the SMTP
+server state just like RSET. This behavior cannot be disabled.
+
+Major changes with snapshot-20010522
+====================================
+
+Revision of some fine details in the light of the new RFC 2821 and
+RFC 2822 standards. Changes that may affect interoperability are
+listed above under "incompatible changes".
+
+The postsuper queue maintenance tool was extended with options to
+read queue IDs from standard input (which makes it easier to drive
+the tool from scripts).
+
+The postsuper queue maintenance tool has a new -r (requeue) option
+for subjecting queue files to another iteration of address rewriting.
+
+The postsuper -R option requeues all mail. This is necessary after
+restoring Postfix queues from another machine or from backups.
+
Major changes with snapshot-20010502
====================================
diff --git a/postfix/html/lmtp.8.html b/postfix/html/lmtp.8.html
index 653d5d8e4..f6c5cdc6d 100644
--- a/postfix/html/lmtp.8.html
+++ b/postfix/html/lmtp.8.html
@@ -75,6 +75,7 @@ LMTP(8) LMTP(8)
RFC 2033 (LMTP protocol)
RFC 2197 (Pipelining)
RFC 2554 (AUTH command)
+ RFC 2821 (SMTP protocol)
DIAGNOSTICS
Problems and transactions are logged to syslogd(8). Cor-
@@ -124,7 +125,6 @@ LMTP(8) LMTP(8)
Authentication controls
lmtp_enable_sasl_auth
Enable per-session authentication as per RFC 2554
- (SASL). By default, Postfix is built without SASL
@@ -137,6 +137,7 @@ LMTP(8) LMTP(8)
LMTP(8) LMTP(8)
+ (SASL). By default, Postfix is built without SASL
support.
lmtp_sasl_password_maps
@@ -190,7 +191,6 @@ LMTP(8) LMTP(8)
transport_destination_concurrency_limit
Limit the number of parallel deliveries to the same
- destination via this mail delivery transport.
@@ -203,6 +203,7 @@ LMTP(8) LMTP(8)
LMTP(8) LMTP(8)
+ destination via this mail delivery transport.
transport is the name of the service as specified
in the master.cf file. The default limit is taken
from the default_destination_concurrency_limit
@@ -259,7 +260,6 @@ LMTP(8) LMTP(8)
-
4
diff --git a/postfix/html/postsuper.1.html b/postfix/html/postsuper.1.html
index 562450a29..c608c6e01 100644
--- a/postfix/html/postsuper.1.html
+++ b/postfix/html/postsuper.1.html
@@ -9,13 +9,14 @@ POSTSUPER(1) POSTSUPER(1)
postsuper - Postfix super intendent
SYNOPSIS
- postsuper [-d queue_id] [-p] [-s] [-v] [directory ...]
+ postsuper [-psv] [-d queue_id] [-r queue_id] [directory
+ ...]
DESCRIPTION
- The postsuper command does small maintenance jobs. Use of
+ The postsuper command does small maintenance jobs. Use of
the command is restricted to the super-user.
- By default, postsuper performs the operations requested
+ By default, postsuper performs the operations requested
with the -s and -p command-line options on the named Post-
fix queue directories (default: all). Directory names are
relative to the Postfix top-level queue directory.
@@ -23,42 +24,41 @@ POSTSUPER(1) POSTSUPER(1)
Options:
-d This option ignores any directory argument(s).
- Delete one message queue file with the named queue
+ Delete one message queue file with the named queue
ID. Specify multiple -d options to delete multiple
queue files by name.
Alternatively, if a queue_id of - is specified, the
program reads queue IDs from standard input.
- The postsuper exit status is non-zero when no mes-
+ The postsuper exit status is non-zero when no mes-
sage queue file was deleted.
- There is a very small possibility that postsuper
- deletes the wrong message file when it is executed
+ There is a very small possibility that postsuper
+ deletes the wrong message file when it is executed
while the Postfix mail system is running.
The scenario is as follows:
- o The Postfix queue manager deletes the file
- that postsuper was supposed to delete,
- because Postfix was finished with the mes-
+ o The Postfix queue manager deletes the file
+ that postsuper was supposed to delete,
+ because Postfix was finished with the mes-
sage.
- o New mail arrives, and the new message is
- given the same queue ID as the message that
+ o New mail arrives, and the new message is
+ given the same queue ID as the message that
postsuper was supposed to delete. The prob-
- ability for reusing a deleted queue ID is
- about 1 in 2**15 (the number of different
+ ability for reusing a deleted queue ID is
+ about 1 in 2**15 (the number of different
microsecond values that the system clock can
- distinguish).
+ distinguish within a second).
o postsuper deletes the new message file,
- instead of the old file that should have
+ instead of the old file that should have
been deleted.
- -s Structure check. Move queue files that are in the
- wrong place in the file system hierarchy and remove
- subdirectories that are no longer needed. File
+ -r This option ignores any directory argument(s).
+ Requeue one message queue file with the named queue
@@ -71,6 +71,26 @@ POSTSUPER(1) POSTSUPER(1)
POSTSUPER(1) POSTSUPER(1)
+ ID. Specify multiple -r options to requeue multi-
+ ple queue files by name.
+
+ Alternatively, if a queue_id of - is specified, the
+ program reads queue IDs from standard input.
+
+ The queue file is moved to the maildrop queue, from
+ where it is copied by the pickup daemon to a new
+ file whose name is guaranteed to match the queue
+ file inode number. This feature is useful for queue
+ files from another machine or for files restored
+ from backup. The new queue file is subjected again
+ to address rewriting and substitution.
+
+ The postsuper exit status is non-zero when no mes-
+ sage queue file was requeued.
+
+ -s Structure check. Move queue files that are in the
+ wrong place in the file system hierarchy and remove
+ subdirectories that are no longer needed. File
rearrangements are necessary after a change in the
hash_queue_names and/or hash_queue_depth configura-
tion parameters. It is highly recommended to run
@@ -105,6 +125,18 @@ POSTSUPER(1) POSTSUPER(1)
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
+
+
+
+ 2
+
+
+
+
+
+POSTSUPER(1) POSTSUPER(1)
+
+
P.O. Box 704
Yorktown Heights, NY 10598, USA
@@ -128,7 +160,41 @@ POSTSUPER(1) POSTSUPER(1)
- 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 3