Postfix 2.1.2 fixes the following problems: - Non-portable reuse of variable length argument lists caused segmentation violation on some PowerPC platforms. - The SMTP client did not reset SMTP and SASL session information before attempting delivery to an alternate SMTP server. - Typos in documentation. Prereq: "2.1.1" diff -cr /tmp/postfix-2.1.1/src/global/mail_version.h ./src/global/mail_version.h *** /tmp/postfix-2.1.1/src/global/mail_version.h Mon May 3 12:57:50 2004 --- ./src/global/mail_version.h Mon Jun 14 17:43:33 2004 *************** *** 20,27 **** * Patches change the patchlevel and the release date. Snapshots change the * release date only. */ ! #define MAIL_RELEASE_DATE "20040503" ! #define MAIL_VERSION_NUMBER "2.1.1" #define VAR_MAIL_VERSION "mail_version" #ifdef SNAPSHOT --- 20,27 ---- * Patches change the patchlevel and the release date. Snapshots change the * release date only. */ ! #define MAIL_RELEASE_DATE "20040615" ! #define MAIL_VERSION_NUMBER "2.1.2" #define VAR_MAIL_VERSION "mail_version" #ifdef SNAPSHOT diff -cr /tmp/postfix-2.1.1/HISTORY ./HISTORY *** /tmp/postfix-2.1.1/HISTORY Mon May 3 13:31:10 2004 --- ./HISTORY Mon Jun 14 17:47:38 2004 *************** *** 9356,9358 **** --- 9356,9375 ---- 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 -cr /tmp/postfix-2.1.1/README_FILES/SMTPD_POLICY_README ./README_FILES/SMTPD_POLICY_README *** /tmp/postfix-2.1.1/README_FILES/SMTPD_POLICY_README Sun Apr 11 17:05:34 2004 --- ./README_FILES/SMTPD_POLICY_README Tue May 4 15:49:33 2004 *************** *** 145,151 **** * 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 3 user=nobody argv=/some/where/policy-server 4 5 /etc/postfix/main.cf: --- 145,151 ---- * Solaris UNIX-domain sockets do not work reliably. Use TCP sockets instead: 1 /etc/postfix/master.cf: ! 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,241 **** in the "Policy client/server configuration" section above. 1 /etc/postfix/master.cf: ! 2 127.0.0.1:9998 unix - n n - - spawn 3 user=nobody argv=/usr/bin/perl /usr/libexec/postfix/greylist.pl 4 5 /etc/postfix/main.cf: --- 235,241 ---- in the "Policy client/server configuration" section above. 1 /etc/postfix/master.cf: ! 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 -cr /tmp/postfix-2.1.1/RELEASE_NOTES ./RELEASE_NOTES *** /tmp/postfix-2.1.1/RELEASE_NOTES Thu Apr 22 18:57:49 2004 --- ./RELEASE_NOTES Sat May 15 21:43:45 2004 *************** *** 15,28 **** 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. [Incompat 20021119] The Postfix upgrade procedure will add two new services to your master.cf file: "trace" and "verify". These servers --- 15,26 ---- Major changes - critical ------------------------ ! 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 -cr /tmp/postfix-2.1.1/conf/header_checks ./conf/header_checks *** /tmp/postfix-2.1.1/conf/header_checks Wed Apr 21 19:07:13 2004 --- ./conf/header_checks Fri May 7 15:25:21 2004 *************** *** 303,311 **** # exploit. # # /etc/postfix/main.cf: ! # header_checks = regexp:/etc/postfix/header_checks # ! # /etc/postfix/header_checks: # /^