2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-22 18:07:41 +00:00

postfix-2.10-20120218

This commit is contained in:
Wietse Venema 2012-02-18 00:00:00 -05:00 committed by Viktor Dukhovni
parent 362dbca86d
commit 3f5b9cff3c
6 changed files with 28 additions and 14 deletions

View File

@ -17603,10 +17603,10 @@ Apologies for any names omitted.
20120130 20120130
Bugfix (introduced: Postfix 2.3): the trace service did not Bugfix (introduced: Postfix 2.3): the trace service did not
distinguish between notifications for a non-bounce or a distinguish between DSN SUCCESS notifications for a non-bounce
bounce message. This code pre-dates DSN support and should or a bounce message. This code pre-dates DSN support and
have been updated when it was re-purposed to handle DSN should have been updated when it was re-purposed to handle
SUCCESS notifications. Problem reported by Sabahattin DSN SUCCESS notifications. Problem reported by Sabahattin
Gucukoglu. File: bounce/bounce_trace_service.c. Gucukoglu. File: bounce/bounce_trace_service.c.
20120202 20120202
@ -17616,3 +17616,16 @@ Apologies for any names omitted.
could match a shorter one, because a length check was done could match a shorter one, because a length check was done
on the wrong string. Reported by Vladimir Vassiliev. File: on the wrong string. Reported by Vladimir Vassiliev. File:
cleanup/cleanup_milter.c. 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.

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no * Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only. * patchlevel; they change the release date only.
*/ */
#define MAIL_RELEASE_DATE "20120202" #define MAIL_RELEASE_DATE "20120218"
#define MAIL_VERSION_NUMBER "2.10" #define MAIL_VERSION_NUMBER "2.10"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -20,7 +20,7 @@
/* specified with the address_verify_sender parameter. /* specified with the address_verify_sender parameter.
/* /*
/* When the address_verify_sender parameter is empty or <>, /* 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). /* time-independent).
/* /*
/* The caller must initialize the address_verify_sender and /* The caller must initialize the address_verify_sender and

View File

@ -207,7 +207,6 @@ int main(int argc, char **argv)
if (isatty(STDERR_FILENO)) if (isatty(STDERR_FILENO))
msg_vstream_init(tag, VSTREAM_ERR); msg_vstream_init(tag, VSTREAM_ERR);
msg_syslog_init(tag, LOG_PID, LOG_FACILITY); msg_syslog_init(tag, LOG_PID, LOG_FACILITY);
tag = 0;
/* /*
* Check the Postfix library version as soon as we enable logging. * Check the Postfix library version as soon as we enable logging.

View File

@ -2353,6 +2353,7 @@ static int mail_cmd(SMTPD_STATE *state, int argc, SMTPD_TOKEN *argv)
return (-1); return (-1);
} }
} }
if (SMTPD_STAND_ALONE(state) == 0) {
err = smtpd_check_rewrite(state); err = smtpd_check_rewrite(state);
if (err != 0) { if (err != 0) {
/* XXX Reset access map side effects. */ /* XXX Reset access map side effects. */
@ -2360,6 +2361,7 @@ static int mail_cmd(SMTPD_STATE *state, int argc, SMTPD_TOKEN *argv)
smtpd_chat_reply(state, "%s", err); smtpd_chat_reply(state, "%s", err);
return (-1); return (-1);
} }
}
/* /*
* Check the queue file space, if applicable. The optional before-filter * Check the queue file space, if applicable. The optional before-filter

View File

@ -116,7 +116,7 @@
/* .fi /* .fi
/* .ad /* .ad
/* In case of error, a vstream_longjmp() call is performed to the /* 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: /* Error codes passed along with vstream_longjmp() are:
/* .IP NETSTRING_ERR_EOF /* .IP NETSTRING_ERR_EOF
/* An I/O error happened, or the peer has disconnected unexpectedly. /* An I/O error happened, or the peer has disconnected unexpectedly.