dovecot-2.1: quota-dirsize: Get the quota from "mail root dir", ...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Sep 16 16:59:32 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/9ea79795088d
changeset: 13480:9ea79795088d
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 12 14:01:36 2011 +0300
description:
quota-dirsize: Get the quota from "mail root dir", not "mailboxes dir".
Normally they are different only with dbox (~/dbox vs. ~/dbox/mailboxes).
This mainly fixes using dirsize with mdbox, where the mail data is in
~/dbox/storage/ directory.
Patch by Роман Захров.
diffstat:
src/plugins/quota/quota-dirsize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d00c95f33643 -r 9ea79795088d src/plugins/quota/quota-dirsize.c
--- a/src/plugins/quota/quota-dirsize.c Mon Sep 12 14:02:30 2011 +0300
+++ b/src/plugins/quota/quota-dirsize.c Mon Sep 12 14:01:36 2011 +0300
@@ -163,7 +163,7 @@
is_file = mail_storage_is_mailbox_file(namespaces[i]->storage);
path = mailbox_list_get_path(namespaces[i]->list, NULL,
- MAILBOX_LIST_PATH_TYPE_MAILBOX);
+ MAILBOX_LIST_PATH_TYPE_DIR);
quota_count_path_add(&paths, path, FALSE);
/* INBOX may be in different path. */
More information about the dovecot-cvs
mailing list