dovecot-2.1: lib-storage: Don't auto-drop namespaces with only I...
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 7 23:41:02 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/41f2bcb43dad
changeset: 14514:41f2bcb43dad
user: Timo Sirainen <tss at iki.fi>
date: Mon May 07 23:39:34 2012 +0300
description:
lib-storage: Don't auto-drop namespaces with only INBOX shared and mail_shared_explicit_inbox=no
diffstat:
src/lib-storage/mail-storage.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 20c9446e537e -r 41f2bcb43dad src/lib-storage/mail-storage.c
--- a/src/lib-storage/mail-storage.c Mon May 07 23:39:01 2012 +0300
+++ b/src/lib-storage/mail-storage.c Mon May 07 23:39:34 2012 +0300
@@ -765,6 +765,10 @@
return 0;
}
+ /* if this is a shared namespace with only INBOX and
+ mail_shared_explicit_inbox=no, we'll need to mark the namespace as
+ usable here since nothing else will. */
+ box->list->ns->flags |= NAMESPACE_FLAG_USABLE;
return 0;
}
More information about the dovecot-cvs
mailing list