dovecot-2.0: virtual: Virtual mailboxes shouldn't be counted in ...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 26 06:43:54 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/24fa8a39ec0b
changeset: 9375:24fa8a39ec0b
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 25 23:43:39 2009 -0400
description:
virtual: Virtual mailboxes shouldn't be counted in quota.

diffstat:

1 file changed, 2 insertions(+)
src/plugins/virtual/virtual-storage.c |    2 ++

diffs (12 lines):

diff -r e4429faabf59 -r 24fa8a39ec0b src/plugins/virtual/virtual-storage.c
--- a/src/plugins/virtual/virtual-storage.c	Mon May 25 23:41:12 2009 -0400
+++ b/src/plugins/virtual/virtual-storage.c	Mon May 25 23:43:39 2009 -0400
@@ -115,6 +115,8 @@ static int virtual_create(struct mail_st
 	struct mailbox_list_settings list_set;
 	struct stat st;
 	const char *layout;
+
+	_storage->ns->flags |= NAMESPACE_FLAG_NOQUOTA;
 
 	if (virtual_get_list_settings(&list_set, data, _storage,
 				      &layout, error_r) < 0)


More information about the dovecot-cvs mailing list