Prereq: "2.9.0" diff -cr --new-file /var/tmp/postfix-2.9.0/src/global/mail_version.h ./src/global/mail_version.h *** /var/tmp/postfix-2.9.0/src/global/mail_version.h Tue Jan 31 16:07:20 2012 --- ./src/global/mail_version.h Sat Feb 18 07:14:58 2012 *************** *** 20,27 **** * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ ! #define MAIL_RELEASE_DATE "20120131" ! #define MAIL_VERSION_NUMBER "2.9.0" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE --- 20,27 ---- * Patches change both the patchlevel and the release date. Snapshots have no * patchlevel; they change the release date only. */ ! #define MAIL_RELEASE_DATE "20120218" ! #define MAIL_VERSION_NUMBER "2.9.1" #ifdef SNAPSHOT # define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE diff -cr --new-file /var/tmp/postfix-2.9.0/HISTORY ./HISTORY *** /var/tmp/postfix-2.9.0/HISTORY Tue Jan 31 16:13:52 2012 --- ./HISTORY Sat Feb 18 07:13:45 2012 *************** *** 17608,17610 **** --- 17608,17631 ---- have been updated when it was re-purposed to handle DSN SUCCESS notifications. Problem reported by Sabahattin Gucukoglu. File: bounce/bounce_trace_service.c. + + 20120202 + + Bugfix (introduced: Postfix 2.3): the "change header" milter + request could replace the wrong header. A long header name + could match a shorter one, because a length check was done + on the wrong string. Reported by Vladimir Vassiliev. File: + cleanup/cleanup_milter.c. + + 20120214 + + Bugfix (introduced: Postfix 2.4): extraneous null assignment + caused core dump when postlog emitted the "usage" message. + Reported by Kant (fnord.hammer). File: postlog/postlog.c. + + 20120217 + + Bugfix (introduced 20111219): sendmail -bs segfault, due + to a missing guard statement after an smtpd_check_rewrite() + call was moved closer to the command processor loop. Fix + by Bartek Szady. File: smtpd/smtpd.c. diff -cr --new-file /var/tmp/postfix-2.9.0/src/cleanup/cleanup_milter.c ./src/cleanup/cleanup_milter.c *** /var/tmp/postfix-2.9.0/src/cleanup/cleanup_milter.c Sat Jan 14 20:39:14 2012 --- ./src/cleanup/cleanup_milter.c Thu Feb 2 09:35:03 2012 *************** *** 845,852 **** /* Reset the saved PTR record and update last_type. */ ; else if ((header_label == 0 || (strncasecmp(header_label, STR(buf), len) == 0 ! && (IS_SPACE_TAB(STR(buf)[len]) ! || STR(buf)[len] == ':'))) && --index == 0) { /* If we have a saved PTR record, it points to start of header. */ break; --- 845,851 ---- /* Reset the saved PTR record and update last_type. */ ; else if ((header_label == 0 || (strncasecmp(header_label, STR(buf), len) == 0 ! && (strlen(header_label) == len))) && --index == 0) { /* If we have a saved PTR record, it points to start of header. */ break; diff -cr --new-file /var/tmp/postfix-2.9.0/src/postlog/postlog.c ./src/postlog/postlog.c *** /var/tmp/postfix-2.9.0/src/postlog/postlog.c Tue Jan 24 19:41:08 2012 --- ./src/postlog/postlog.c Tue Feb 14 09:14:44 2012 *************** *** 207,213 **** if (isatty(STDERR_FILENO)) msg_vstream_init(tag, VSTREAM_ERR); msg_syslog_init(tag, LOG_PID, LOG_FACILITY); - tag = 0; /* * Check the Postfix library version as soon as we enable logging. --- 207,212 ---- diff -cr --new-file /var/tmp/postfix-2.9.0/src/smtpd/smtpd.c ./src/smtpd/smtpd.c *** /var/tmp/postfix-2.9.0/src/smtpd/smtpd.c Sun Jan 15 10:04:20 2012 --- ./src/smtpd/smtpd.c Fri Feb 17 09:25:38 2012 *************** *** 2353,2364 **** return (-1); } } ! err = smtpd_check_rewrite(state); ! if (err != 0) { ! /* XXX Reset access map side effects. */ ! mail_reset(state); ! smtpd_chat_reply(state, "%s", err); ! return (-1); } /* --- 2353,2366 ---- return (-1); } } ! if (SMTPD_STAND_ALONE(state) == 0) { ! err = smtpd_check_rewrite(state); ! if (err != 0) { ! /* XXX Reset access map side effects. */ ! mail_reset(state); ! smtpd_chat_reply(state, "%s", err); ! return (-1); ! } } /*