dovecot-2.0: deliver_log_format: %s should contain subject in UT...

dovecot at dovecot.org dovecot at dovecot.org
Thu May 21 00:53:11 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/6b06f4561fcb
changeset: 9335:6b06f4561fcb
user:      Timo Sirainen <tss at iki.fi>
date:      Wed May 20 17:53:03 2009 -0400
description:
deliver_log_format: %s should contain subject in UTF8, not in MIME-encoded form.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib-lda/mail-deliver.c |    2 +-

diffs (12 lines):

diff -r a4759b848d74 -r 6b06f4561fcb src/lib-lda/mail-deliver.c
--- a/src/lib-lda/mail-deliver.c	Wed May 20 17:47:49 2009 -0400
+++ b/src/lib-lda/mail-deliver.c	Wed May 20 17:53:03 2009 -0400
@@ -47,7 +47,7 @@ get_log_var_expand_table(struct mail_del
 
 	tab[0].value = message;
 	(void)mail_get_first_header(ctx->src_mail, "Message-ID", &tab[1].value);
-	(void)mail_get_first_header(ctx->src_mail, "Subject", &tab[2].value);
+	(void)mail_get_first_header_utf8(ctx->src_mail, "Subject", &tab[2].value);
 	tab[3].value = mail_deliver_get_address(ctx, "From");
 	for (i = 1; tab[i].key != '\0'; i++)
 		tab[i].value = str_sanitize(tab[i].value, 80);


More information about the dovecot-cvs mailing list