2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-22 09:57:34 +00:00

postfix-2.12-20140516

This commit is contained in:
Wietse Venema 2014-05-16 00:00:00 -05:00 committed by Viktor Dukhovni
parent 65a3d49cf6
commit 1582fdf34e
4 changed files with 15 additions and 4 deletions

View File

@ -19716,8 +19716,17 @@ Apologies for any names omitted.
poorly reflected their purpose. "DEAD" is replaced with poorly reflected their purpose. "DEAD" is replaced with
"FORBIDDEN" (no I/O allowed) and "BAD" is replaced with "FORBIDDEN" (no I/O allowed) and "BAD" is replaced with
"THROTTLED" (anything that causes the queue manager to back "THROTTLED" (anything that causes the queue manager to back
off from some destination). Files: smtp.h, smtp_coonnect.c, off from some destination). Files: smtp.h, smtp_connect.c,
smtp_proto.c, smtp_trouble.c. smtp_proto.c, smtp_trouble.c.
Cleanup: enable SMTP connection cache lookup by destination Cleanup: enable SMTP connection cache lookup by destination
while a surge of mail is drying up. File: smtp_connect.c. while a surge of mail is drying up. File: smtp_connect.c.
20140512
Portability: Berkeley DB6 support. File: util/dict_db.c.
20140515
Bugfix (introduced: 20140320): missing initialization.
Viktor Dukhovni. File pipe/pipe.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 "20140508" #define MAIL_RELEASE_DATE "20140516"
#define MAIL_VERSION_NUMBER "2.12" #define MAIL_VERSION_NUMBER "2.12"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -1341,6 +1341,7 @@ int main(int argc, char **argv)
single_server_main(argc, argv, pipe_service, single_server_main(argc, argv, pipe_service,
MAIL_SERVER_TIME_TABLE, time_table, MAIL_SERVER_TIME_TABLE, time_table,
MAIL_SERVER_STR_TABLE, str_table,
MAIL_SERVER_PRE_INIT, pre_init, MAIL_SERVER_PRE_INIT, pre_init,
MAIL_SERVER_POST_INIT, drop_privileges, MAIL_SERVER_POST_INIT, drop_privileges,
MAIL_SERVER_PRE_ACCEPT, pre_accept, MAIL_SERVER_PRE_ACCEPT, pre_accept,

View File

@ -89,7 +89,7 @@
#define DONT_CLOBBER DB_NOOVERWRITE #define DONT_CLOBBER DB_NOOVERWRITE
#endif #endif
#if (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR < 6) #if (DB_VERSION_MAJOR == 2 && DB_VERSION_MINOR <= 6)
#define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs)) #define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs))
#else #else
#define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs), 0) #define DICT_DB_CURSOR(db, curs) (db)->cursor((db), NULL, (curs), 0)
@ -693,7 +693,8 @@ static DICT *dict_db_open(const char *class, const char *path, int open_flags,
msg_fatal("set DB cache size %d: %m", dict_db_cache_size); msg_fatal("set DB cache size %d: %m", dict_db_cache_size);
if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0) if (type == DB_HASH && db->set_h_nelem(db, DICT_DB_NELM) != 0)
msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM); msg_fatal("set DB hash element count %d: %m", DICT_DB_NELM);
#if DB_VERSION_MAJOR == 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0) #if DB_VERSION_MAJOR == 6 || DB_VERSION_MAJOR == 5 || \
(DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0)
if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0) if ((errno = db->open(db, 0, db_path, 0, type, db_flags, 0644)) != 0)
FREE_RETURN(dict_surrogate(class, path, open_flags, dict_flags, FREE_RETURN(dict_surrogate(class, path, open_flags, dict_flags,
"open database %s: %m", db_path)); "open database %s: %m", db_path));