dovecot-2.0: dsync: Set user to be admin to ignore quota limits.

dovecot at dovecot.org dovecot at dovecot.org
Sat Nov 5 19:27:44 EET 2011


details:   http://hg.dovecot.org/dovecot-2.0/rev/0cf3215cdf2d
changeset: 12957:0cf3215cdf2d
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Nov 05 19:37:23 2011 +0200
description:
dsync: Set user to be admin to ignore quota limits.

diffstat:

 src/dsync/dsync.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 00157fd523ea -r 0cf3215cdf2d src/dsync/dsync.c
--- a/src/dsync/dsync.c	Sat Nov 05 19:37:02 2011 +0200
+++ b/src/dsync/dsync.c	Sat Nov 05 19:37:23 2011 +0200
@@ -259,6 +259,7 @@
 	if (mail_storage_service_next(storage_service, service_user,
 				      &mail_user) < 0)
 		i_fatal("User init failed");
+	mail_user->admin = TRUE;
 
 	/* create the first local worker */
 	worker1 = dsync_worker_init_local(mail_user, alt_char);
@@ -275,6 +276,7 @@
 		if (mail_storage_service_next(storage_service, service_user,
 					      &mail_user2) < 0)
 			i_fatal("User init failed");
+		mail_user2->admin = TRUE;
 
 		if (mail_namespaces_get_root_sep(mail_user->namespaces) !=
 		    mail_namespaces_get_root_sep(mail_user2->namespaces)) {


More information about the dovecot-cvs mailing list