dovecot-2.2: lib-storage: If namespace has disabled=yes, don't v...

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 20 21:45:49 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/a46951762a27
changeset: 16073:a46951762a27
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 26 10:37:19 2013 +0200
description:
lib-storage: If namespace has disabled=yes, don't verify alias_for validity.

diffstat:

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

diffs (12 lines):

diff -r 0af0def22533 -r a46951762a27 src/lib-storage/mail-storage-settings.c
--- a/src/lib-storage/mail-storage-settings.c	Tue Feb 26 09:05:09 2013 +0200
+++ b/src/lib-storage/mail-storage-settings.c	Tue Feb 26 10:37:19 2013 +0200
@@ -452,7 +452,7 @@
 		return FALSE;
 	}
 
-	if (ns->alias_for != NULL) {
+	if (ns->alias_for != NULL && !ns->disabled) {
 		if (array_is_created(&ns->user_set->namespaces)) {
 			namespaces = array_get(&ns->user_set->namespaces,
 					       &count);


More information about the dovecot-cvs mailing list