mirror of
https://github.com/vdukhovni/postfix
synced 2025-08-30 13:48:06 +00:00
postfix-2.3.13
This commit is contained in:
committed by
Viktor Dukhovni
parent
2c3782051d
commit
c161b0e5df
@@ -13072,3 +13072,19 @@ Apologies for any names omitted.
|
|||||||
a milter replied with ACCEPT at the DATA command. Files:
|
a milter replied with ACCEPT at the DATA command. Files:
|
||||||
cleanup/cleanup_envelope.c, smtpd/smtpd.c, milter/milters.c.
|
cleanup/cleanup_envelope.c, smtpd/smtpd.c, milter/milters.c.
|
||||||
Back-port from Postfix 2.4/2.5.
|
Back-port from Postfix 2.4/2.5.
|
||||||
|
|
||||||
|
20070911
|
||||||
|
|
||||||
|
Bugfix (introduced Postfix 2.2.11): TLS client certificate
|
||||||
|
with unparsable canonical name caused the SMTP server's
|
||||||
|
policy client to allocate zero-length memory, triggering
|
||||||
|
an assertion that it shouldn't do such things. File:
|
||||||
|
smtpd/smtpd_check.c. Back-port from Postfix 2.4/2.5.
|
||||||
|
|
||||||
|
20070917
|
||||||
|
|
||||||
|
Workaround: the flush daemon forces an access time update
|
||||||
|
for the per-destination logfile, to prevent an excessive
|
||||||
|
rate of delivery attempts when the queue file system is
|
||||||
|
mounted with "noatime". File: flush/flush.c. Back-port
|
||||||
|
from Postfix 2.4/2.5.
|
||||||
|
@@ -147,6 +147,7 @@
|
|||||||
|
|
||||||
#include <sys_defs.h>
|
#include <sys_defs.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
@@ -479,6 +480,11 @@ static int flush_send_path(const char *path, int how)
|
|||||||
if (count > 0 && ftruncate(vstream_fileno(log), (off_t) 0) < 0)
|
if (count > 0 && ftruncate(vstream_fileno(log), (off_t) 0) < 0)
|
||||||
msg_fatal("%s: truncate fast flush logfile %s: %m", myname, path);
|
msg_fatal("%s: truncate fast flush logfile %s: %m", myname, path);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Workaround for noatime mounts. Use futimes() if available.
|
||||||
|
*/
|
||||||
|
(void) utimes(VSTREAM_PATH(log), (struct timeval *) 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Request delivery and clean up.
|
* Request delivery and clean up.
|
||||||
*/
|
*/
|
||||||
|
@@ -20,8 +20,8 @@
|
|||||||
* 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 "20070731"
|
#define MAIL_RELEASE_DATE "20071017"
|
||||||
#define MAIL_VERSION_NUMBER "2.3.12"
|
#define MAIL_VERSION_NUMBER "2.3.13"
|
||||||
|
|
||||||
#ifdef SNAPSHOT
|
#ifdef SNAPSHOT
|
||||||
# define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
|
# define MAIL_VERSION_DATE "-" MAIL_RELEASE_DATE
|
||||||
|
@@ -3302,7 +3302,7 @@ static int check_policy_service(SMTPD_STATE *state, const char *server,
|
|||||||
coded_CN_buf = 0; \
|
coded_CN_buf = 0; \
|
||||||
coded_CN = ""; \
|
coded_CN = ""; \
|
||||||
} else { \
|
} else { \
|
||||||
coded_CN_buf = vstring_alloc(strlen(CN)); \
|
coded_CN_buf = vstring_alloc(strlen(CN) + 1); \
|
||||||
xtext_quote(coded_CN_buf, CN, ""); \
|
xtext_quote(coded_CN_buf, CN, ""); \
|
||||||
coded_CN = STR(coded_CN_buf); \
|
coded_CN = STR(coded_CN_buf); \
|
||||||
} \
|
} \
|
||||||
|
Reference in New Issue
Block a user