dovecot-2.2: lib-storage: If no namespaces were defined, the aut...

dovecot at dovecot.org dovecot at dovecot.org
Sun May 24 21:52:46 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/00ef92771cd9
changeset: 18748:00ef92771cd9
user:      Timo Sirainen <tss at iki.fi>
date:      Sun May 24 17:50:26 2015 -0400
description:
lib-storage: If no namespaces were defined, the autocreated namespace settings were a bit wrong.

diffstat:

 src/lib-storage/mail-namespace.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 5f95cc2bd7aa -r 00ef92771cd9 src/lib-storage/mail-namespace.c
--- a/src/lib-storage/mail-namespace.c	Sun May 24 17:40:53 2015 -0400
+++ b/src/lib-storage/mail-namespace.c	Sun May 24 17:50:26 2015 -0400
@@ -429,6 +429,9 @@
 	inbox_set = p_new(user->pool, struct mail_namespace_settings, 1);
 	*inbox_set = mail_namespace_default_settings;
 	inbox_set->inbox = TRUE;
+	/* enums must be changed */
+	inbox_set->type = "private";
+	inbox_set->list = "yes";
 
 	unexpanded_inbox_set = p_new(user->pool, struct mail_namespace_settings, 1);
 	*unexpanded_inbox_set = *inbox_set;


More information about the dovecot-cvs mailing list