dovecot-2.1: lib-storage: Extra check to mail_shared_explicit_in...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 8 01:25:17 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/17a635cbb63d
changeset: 14516:17a635cbb63d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 08 01:24:01 2012 +0300
description:
lib-storage: Extra check to mail_shared_explicit_inbox=no

diffstat:

 src/lib-storage/mailbox-list.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8cdc7c13d6f2 -r 17a635cbb63d src/lib-storage/mailbox-list.c
--- a/src/lib-storage/mailbox-list.c	Tue May 08 01:22:32 2012 +0300
+++ b/src/lib-storage/mailbox-list.c	Tue May 08 01:24:01 2012 +0300
@@ -508,7 +508,7 @@
 		   and <ns prefix>/inBox. */
 		return vname;
 	}
-	if (strcmp(vname, "INBOX") == 0 &&
+	if (strcmp(vname, "INBOX") == 0 && list->ns->type == NAMESPACE_SHARED &&
 	    (list->ns->flags & NAMESPACE_FLAG_INBOX_ANY) != 0 &&
 	    !list->mail_set->mail_shared_explicit_inbox) {
 		/* convert to shared/$user, we don't really care about the


More information about the dovecot-cvs mailing list