From c302f4a4bf9d604bf4db1f21d3dd8ec09362a134 Mon Sep 17 00:00:00 2001 From: Wietse Venema Date: Tue, 15 Jun 2004 00:00:00 -0500 Subject: [PATCH] postfix-2.1.2 --- postfix/HISTORY | 17 +++++ postfix/README_FILES/SMTPD_POLICY_README | 4 +- postfix/RELEASE_NOTES | 14 ++-- postfix/conf/header_checks | 4 +- postfix/conf/main.cf | 2 +- postfix/html/SMTPD_POLICY_README.html | 4 +- postfix/html/header_checks.5.html | 4 +- postfix/html/pickup.8.html | 4 +- postfix/html/postconf.5.html | 21 ++---- postfix/html/proxymap.8.html | 2 +- postfix/html/qmgr.8.html | 6 +- postfix/html/smtpd.8.html | 73 +++++++++---------- postfix/html/spawn.8.html | 2 +- postfix/html/trivial-rewrite.8.html | 14 ++-- postfix/man/man5/header_checks.5 | 4 +- postfix/man/man5/postconf.5 | 23 ++---- postfix/man/man8/pickup.8 | 2 +- postfix/man/man8/proxymap.8 | 4 +- postfix/man/man8/qmgr.8 | 4 +- postfix/man/man8/smtpd.8 | 7 +- postfix/man/man8/spawn.8 | 2 +- postfix/man/man8/trivial-rewrite.8 | 2 +- postfix/mantools/postconf2man | 2 +- postfix/proto/header_checks | 4 +- postfix/proto/postconf.proto | 21 ++---- postfix/src/global/bounce.c | 18 +++-- postfix/src/global/defer.c | 8 +- postfix/src/global/mail_version.h | 4 +- postfix/src/global/sent.c | 13 +++- postfix/src/global/trace.c | 4 +- postfix/src/global/verify.c | 10 ++- postfix/src/pickup/pickup.c | 2 +- postfix/src/proxymap/proxymap.c | 4 +- postfix/src/qmgr/qmgr.c | 4 +- postfix/src/smtp/smtp_connect.c | 14 +++- postfix/src/smtpd/smtpd.c | 7 +- postfix/src/smtpd/smtpd_proxy.h | 4 +- postfix/src/spawn/spawn.c | 2 +- postfix/src/trivial-rewrite/trivial-rewrite.c | 2 +- postfix/src/util/sys_defs.h | 9 ++- 40 files changed, 183 insertions(+), 168 deletions(-) diff --git a/postfix/HISTORY b/postfix/HISTORY index f3b1d1cbe..79e35685e 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -9356,3 +9356,20 @@ Apologies for any names omitted. Bugfix: missing "sasl enabled" guard in the SMTPD policy client. File: smtpd/smtpd_check.c. + +20040614 + + Bugfix: the SMTP client did not reset per-session EHLO, + SASL, and history information when opening a connection to + an alternate SMTP server. This is the result of abstraction + no longer matching function. Reported and diagnosed by + Victor Duchovni, Morgan Stanley. + + Bugfix: non-portable reuse of variadic argument lists. + Fix by Victor Duchovni, Morgan Stanley. Files: global/bounce.c, + global/defer.c, global/sent.c, global/trace.c, global/verify.c. + + Portability: NetBSD 2.0 has changed from statfs to statvfs. + John Heasley. File: util/sys_defs.h. + + Documentation: typo fixes by IKEDA Nozomu. diff --git a/postfix/README_FILES/SMTPD_POLICY_README b/postfix/README_FILES/SMTPD_POLICY_README index d962d8c87..b485acf95 100644 --- a/postfix/README_FILES/SMTPD_POLICY_README +++ b/postfix/README_FILES/SMTPD_POLICY_README @@ -145,7 +145,7 @@ NOTES: * Solaris UNIX-domain sockets do not work reliably. Use TCP sockets instead: 1 /etc/postfix/master.cf: - 2 127.0.0.1:9998 unix - n n - - spawn + 2 127.0.0.1:9998 inet n n n - - spawn 3 user=nobody argv=/some/where/policy-server 4 5 /etc/postfix/main.cf: @@ -235,7 +235,7 @@ On Solaris you must use inet: style sockets instead of unix: style, as detailed in the "Policy client/server configuration" section above. 1 /etc/postfix/master.cf: - 2 127.0.0.1:9998 unix - n n - - spawn + 2 127.0.0.1:9998 inet n n n - - spawn 3 user=nobody argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl 4 5 /etc/postfix/main.cf: diff --git a/postfix/RELEASE_NOTES b/postfix/RELEASE_NOTES index 87e3d5b1d..d88b93e04 100644 --- a/postfix/RELEASE_NOTES +++ b/postfix/RELEASE_NOTES @@ -15,14 +15,12 @@ snapshot releases. Major changes - critical ------------------------ -If you run Postfix 1.x or earlier then you must stop Postfix before -upgrading. This is because the master-child protocols have changed, -and very little will work with the old master daemon process. - -[Incompat 20021119] You can upgrade Postfix 2.0 without stopping. -After upgrading an existing Postfix 2.0 system you must use "postfix -reload". Some internal protocols have changed, but the master-child -protocols are the same as with Postfix 2.0. +If you run Postfix 2.0 or earlier then you must stop Postfix before +upgrading. The master-child protocols have changed between Postfix +1.1 and 2.0, and version 2.1 sometimes writes queue files that the +2.0 and earlier queue managers complain about. If this happens move +the files from the corrupt directory to the maildrop directory and +give them another chance. [Incompat 20021119] The Postfix upgrade procedure will add two new services to your master.cf file: "trace" and "verify". These servers diff --git a/postfix/conf/header_checks b/postfix/conf/header_checks index dcb25d5ae..cc01dfd44 100644 --- a/postfix/conf/header_checks +++ b/postfix/conf/header_checks @@ -303,9 +303,9 @@ # exploit. # # /etc/postfix/main.cf: -# header_checks = regexp:/etc/postfix/header_checks +# body_checks = regexp:/etc/postfix/body_checks # -# /etc/postfix/header_checks: +# /etc/postfix/body_checks: # /^