dovecot-2.2: lmtp: Remove <> from Delivered-To: header.

dovecot at dovecot.org dovecot at dovecot.org
Thu Jul 10 15:33:03 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/70486f364ce0
changeset: 17621:70486f364ce0
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jul 10 18:31:10 2014 +0300
description:
lmtp: Remove <> from Delivered-To: header.
This annoyingly changes Dovecot behavior in the middle of v2.2.x series, but
the earlier value was definitely wrong.. Perhaps we still need to provide a
setting for this, but that's pretty annoying as well.

diffstat:

 src/lmtp/commands.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a366ae9b182f -r 70486f364ce0 src/lmtp/commands.c
--- a/src/lmtp/commands.c	Thu Jul 10 18:17:44 2014 +0300
+++ b/src/lmtp/commands.c	Thu Jul 10 18:31:10 2014 +0300
@@ -856,7 +856,7 @@
 		str_printfa(str, "Return-Path: <%s>\r\n",
 			    client->state.mail_from);
 		if (rcpt_to != NULL)
-			str_printfa(str, "Delivered-To: <%s>\r\n", rcpt_to);
+			str_printfa(str, "Delivered-To: %s\r\n", rcpt_to);
 	}
 
 	str_printfa(str, "Received: from %s", client->lhlo);


More information about the dovecot-cvs mailing list