20120130
Bugfix (introduced: Postfix 2.3): the trace service did not
- distinguish between notifications for a non-bounce or a
- bounce message. This code pre-dates DSN support and should
- have been updated when it was re-purposed to handle DSN
- SUCCESS notifications. Problem reported by Sabahattin
+ distinguish between DSN SUCCESS notifications for a non-bounce
+ or a bounce message. This code pre-dates DSN support and
+ should 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
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.
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20120202"
+#define MAIL_RELEASE_DATE "20120218"
#define MAIL_VERSION_NUMBER "2.10"
#ifdef SNAPSHOT
/* specified with the address_verify_sender parameter.
/*
/* When the address_verify_sender parameter is empty or <>,
-/* the sender address always the empty address (i.e. always
+/* the sender address is always the empty address (i.e. always
/* time-independent).
/*
/* The caller must initialize the address_verify_sender and
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.
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);
+ 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);
+ }
}
/*
/* .fi
/* .ad
/* In case of error, a vstream_longjmp() call is performed to the
-/* context specified with vstream_setjmp().
+/* caller-provided context specified with vstream_setjmp().
/* Error codes passed along with vstream_longjmp() are:
/* .IP NETSTRING_ERR_EOF
/* An I/O error happened, or the peer has disconnected unexpectedly.