From: Jeremy Harris Date: Sat, 11 Apr 2015 15:06:56 +0000 (+0100) Subject: forwarding X-Git-Tag: exim-4_86_RC1~88^2~6 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/f923454af54f2638fe7f2f7e53a441cdd94d7e56 forwarding --- diff --git a/src/src/deliver.c b/src/src/deliver.c index e25de7eb8..85a379c1b 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -5596,7 +5596,7 @@ if (process_recipients != RECIP_IGNORE) new->prop.errors_address = r->errors_to; #ifdef EXPERIMENTAL_INTERNATIONAL new->prop.utf8 = message_smtputf8; - DEBUG(D_deliver) debug_printf("utf8: %c\n", message_smtputf8 ? 'T':'F'); + DEBUG(D_deliver) if (message_smtputf8) debug_printf("utf8\n"); #endif if (r->pno >= 0) @@ -5606,7 +5606,8 @@ if (process_recipients != RECIP_IGNORE) to be passed on to other DSN enabled MTAs */ new->dsn_flags = r->dsn_flags & rf_dsnflags; new->dsn_orcpt = r->orcpt; - DEBUG(D_deliver) debug_printf("DSN: set orcpt: %s flags: %d\n", new->dsn_orcpt, new->dsn_flags); + DEBUG(D_deliver) debug_printf("DSN: set orcpt: %s flags: %d\n", + new->dsn_orcpt, new->dsn_flags); switch (process_recipients) { diff --git a/src/src/routers/redirect.c b/src/src/routers/redirect.c index 0d8c43d20..8f1c2c3d2 100644 --- a/src/src/routers/redirect.c +++ b/src/src/routers/redirect.c @@ -451,6 +451,11 @@ while (generated != NULL) } } +#ifdef EXPERIMENTAL_INTERNATIONAL + next->prop.utf8 = string_is_utf8(next->address) + || (sender_address && string_is_utf8(sender_address)); +#endif + DEBUG(D_route) { debug_printf("%s router generated %s\n %serrors_to=%s transport=%s\n", @@ -470,6 +475,10 @@ while (generated != NULL) else debug_printf("gid=unset "); +#ifdef EXPERIMENTAL_INTERNATIONAL + if (next->prop.utf8) debug_printf("utf8 "); +#endif + debug_printf("home=%s\n", next->home_dir); } }