dovecot-2.0: lmtp: If lmtp_save_to_detail_mailbox=yes and there ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 8 13:34:54 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/6d188f4e8e6a
changeset: 12997:6d188f4e8e6a
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 08 05:17:01 2011 +0200
description:
lmtp: If lmtp_save_to_detail_mailbox=yes and there was no detail, mail was logged as saved to "".

diffstat:

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

diffs (12 lines):

diff -r 13378136ba3e -r 6d188f4e8e6a src/lmtp/commands.c
--- a/src/lmtp/commands.c	Thu Dec 08 11:45:04 2011 +0200
+++ b/src/lmtp/commands.c	Thu Dec 08 05:17:01 2011 +0200
@@ -519,7 +519,7 @@
 	if (dctx.dest_addr == NULL)
 		dctx.dest_addr = rcpt->address;
 	dctx.final_dest_addr = rcpt->address;
-	if (rcpt->detail == '\0' ||
+	if (*rcpt->detail == '\0' ||
 	    !client->lmtp_set->lmtp_save_to_detail_mailbox)
 		dctx.dest_mailbox_name = "INBOX";
 	else {


More information about the dovecot-cvs mailing list