dovecot-2.2: quota: When recalculating quota, don't try to acces...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Nov 12 09:30:01 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/53f4464235b3
changeset: 19353:53f4464235b3
user: Timo Sirainen <tss at iki.fi>
date: Thu Nov 12 11:29:29 2015 +0200
description:
quota: When recalculating quota, don't try to access nonexistent autocreate-mailboxes.
There's no need to physically create them, since they're empty anyway.
diffstat:
src/plugins/quota/quota-count.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r e7f71caad9c5 -r 53f4464235b3 src/plugins/quota/quota-count.c
--- a/src/plugins/quota/quota-count.c Wed Nov 11 17:40:23 2015 +0200
+++ b/src/plugins/quota/quota-count.c Thu Nov 12 11:29:29 2015 +0200
@@ -106,7 +106,8 @@
iter->ns = namespaces[iter->ns_idx++];
iter->iter = mailbox_list_iter_init(iter->ns->list, "*",
MAILBOX_LIST_ITER_SKIP_ALIASES |
- MAILBOX_LIST_ITER_RETURN_NO_FLAGS);
+ MAILBOX_LIST_ITER_RETURN_NO_FLAGS |
+ MAILBOX_LIST_ITER_NO_AUTO_BOXES);
}
while ((info = mailbox_list_iter_next(iter->iter)) != NULL) {
if ((info->flags & (MAILBOX_NONEXISTENT |
More information about the dovecot-cvs
mailing list