mirror of
https://github.com/vdukhovni/postfix
synced 2025-09-03 23:55:18 +00:00
postfix-2.3-20050401
This commit is contained in:
committed by
Viktor Dukhovni
parent
d8907e698e
commit
64cde15b99
@@ -10583,6 +10583,11 @@ Apologies for any names omitted.
|
|||||||
valid C. Bugs reported by Victor Duchovni. Files:
|
valid C. Bugs reported by Victor Duchovni. Files:
|
||||||
util/sys_defs.h, global/dsn_util.h, tls/tls_client.c.
|
util/sys_defs.h, global/dsn_util.h, tls/tls_client.c.
|
||||||
|
|
||||||
|
Bugfix: when delivery to command failed, command output was
|
||||||
|
not reported. Fix was to enable format checks for the new
|
||||||
|
dsn_vstring_update() module. File: global/dsn_util.h,
|
||||||
|
global/pipe_command.c.
|
||||||
|
|
||||||
Open problems:
|
Open problems:
|
||||||
|
|
||||||
Med: disable header address rewriting after XCLIENT?
|
Med: disable header address rewriting after XCLIENT?
|
||||||
|
@@ -72,7 +72,7 @@ typedef struct {
|
|||||||
} DSN_VSTRING;
|
} DSN_VSTRING;
|
||||||
|
|
||||||
extern DSN_VSTRING *dsn_vstring_alloc(int);
|
extern DSN_VSTRING *dsn_vstring_alloc(int);
|
||||||
extern DSN_VSTRING *dsn_vstring_update(DSN_VSTRING *, const char *, const char *,...);
|
extern PRINTFLIKE(3, 4) DSN_VSTRING *dsn_vstring_update(DSN_VSTRING *, const char *, const char *,...);
|
||||||
extern void dsn_vstring_free(DSN_VSTRING *);
|
extern void dsn_vstring_free(DSN_VSTRING *);
|
||||||
|
|
||||||
/* LICENSE
|
/* LICENSE
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* Patches change the patchlevel and the release date. Snapshots change the
|
* Patches change the patchlevel and the release date. Snapshots change the
|
||||||
* release date only.
|
* release date only.
|
||||||
*/
|
*/
|
||||||
#define MAIL_RELEASE_DATE "20050331"
|
#define MAIL_RELEASE_DATE "20050401"
|
||||||
#define MAIL_VERSION_NUMBER "2.3"
|
#define MAIL_VERSION_NUMBER "2.3"
|
||||||
|
|
||||||
#define VAR_MAIL_VERSION "mail_version"
|
#define VAR_MAIL_VERSION "mail_version"
|
||||||
|
@@ -582,7 +582,7 @@ int pipe_command(VSTREAM *src, DSN_VSTRING *why,...)
|
|||||||
/* Use <sysexits.h> compatible exit status. */
|
/* Use <sysexits.h> compatible exit status. */
|
||||||
else if (SYS_EXITS_CODE(WEXITSTATUS(wait_status))) {
|
else if (SYS_EXITS_CODE(WEXITSTATUS(wait_status))) {
|
||||||
sp = sys_exits_detail(WEXITSTATUS(wait_status));
|
sp = sys_exits_detail(WEXITSTATUS(wait_status));
|
||||||
dsn_vstring_update(why, sp->dsn, "%s%s", sp->text,
|
dsn_vstring_update(why, sp->dsn, "%s%s%s", sp->text,
|
||||||
log_len ? ". Command output: " : "", log_buf);
|
log_len ? ". Command output: " : "", log_buf);
|
||||||
return (sp->dsn[0] == '4' ?
|
return (sp->dsn[0] == '4' ?
|
||||||
PIPE_STAT_DEFER : PIPE_STAT_BOUNCE);
|
PIPE_STAT_DEFER : PIPE_STAT_BOUNCE);
|
||||||
|
Reference in New Issue
Block a user