dovecot-2.2: raw storage: Don't set NAMESPACE_FLAG_INBOX_USER fo...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 24 11:52:25 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/5b0ab07024ca
changeset: 15251:5b0ab07024ca
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 24 11:52:14 2012 +0300
description:
raw storage: Don't set NAMESPACE_FLAG_INBOX_USER for the created namespace.
diffstat:
src/lib-storage/index/raw/raw-storage.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r b89dae6aead4 -r 5b0ab07024ca src/lib-storage/index/raw/raw-storage.c
--- a/src/lib-storage/index/raw/raw-storage.c Wed Oct 24 11:30:09 2012 +0300
+++ b/src/lib-storage/index/raw/raw-storage.c Wed Oct 24 11:52:14 2012 +0300
@@ -33,6 +33,9 @@
ns_set->separator = "/";
ns = mail_namespaces_init_empty(user);
+ /* raw storage doesn't have INBOX. We especially don't want LIST to
+ return INBOX. */
+ ns->flags &= ~NAMESPACE_FLAG_INBOX_USER;
ns->flags |= NAMESPACE_FLAG_NOQUOTA | NAMESPACE_FLAG_NOACL;
ns->set = ns_set;
if (mail_storage_create(ns, "raw", 0, &error) < 0)
More information about the dovecot-cvs
mailing list