dovecot-2.0: quota: Added a temporary hack to avoid virtual mail...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Nov 1 16:33:30 EET 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/b7511f567d2e
changeset: 12356:b7511f567d2e
user: Timo Sirainen <tss at iki.fi>
date: Mon Nov 01 14:33:26 2010 +0000
description:
quota: Added a temporary hack to avoid virtual mailboxes being counted in quota.
diffstat:
src/plugins/quota/quota-storage.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 601065674f74 -r b7511f567d2e src/plugins/quota/quota-storage.c
--- a/src/plugins/quota/quota-storage.c Mon Oct 25 22:22:48 2010 +0100
+++ b/src/plugins/quota/quota-storage.c Mon Nov 01 14:33:26 2010 +0000
@@ -514,7 +514,8 @@
if (root != NULL)
root->ns = list->ns;
- if ((list->ns->flags & NAMESPACE_FLAG_NOQUOTA) != 0)
+ if ((list->ns->flags & NAMESPACE_FLAG_NOQUOTA) != 0 ||
+ strncmp(list->ns->set->location, "virtual:", 8) == 0) /* FIXME: remove ugly workaround */
add = FALSE;
else if (list->ns->owner == NULL) {
/* public namespace - add quota only if namespace is
More information about the dovecot-cvs
mailing list