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

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


details:   http://hg.dovecot.org/dovecot-2.1/rev/3248730d84ae
changeset: 13664:3248730d84ae
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 131e44d50d35 -r 3248730d84ae 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