2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-31 06:05:37 +00:00

postfix-2.3-20050401

This commit is contained in:
Wietse Venema
2005-04-01 00:00:00 -05:00
committed by Viktor Dukhovni
parent d8907e698e
commit 64cde15b99
4 changed files with 8 additions and 3 deletions

View File

@@ -10583,6 +10583,11 @@ Apologies for any names omitted.
valid C. Bugs reported by Victor Duchovni. Files:
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:
Med: disable header address rewriting after XCLIENT?

View File

@@ -72,7 +72,7 @@ typedef struct {
} DSN_VSTRING;
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 *);
/* LICENSE

View File

@@ -20,7 +20,7 @@
* Patches change the patchlevel and the release date. Snapshots change the
* release date only.
*/
#define MAIL_RELEASE_DATE "20050331"
#define MAIL_RELEASE_DATE "20050401"
#define MAIL_VERSION_NUMBER "2.3"
#define VAR_MAIL_VERSION "mail_version"

View File

@@ -582,7 +582,7 @@ int pipe_command(VSTREAM *src, DSN_VSTRING *why,...)
/* Use <sysexits.h> compatible exit status. */
else if (SYS_EXITS_CODE(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);
return (sp->dsn[0] == '4' ?
PIPE_STAT_DEFER : PIPE_STAT_BOUNCE);