From 19f204a9afad6a5189ec9cf0dbdbe4484c08226f Mon Sep 17 00:00:00 2001 From: John Supplee Date: Tue, 5 Feb 2019 13:32:43 +0200 Subject: [PATCH] Do not execute a dovecot reload on every quota update --- management/mailconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mailconfig.py b/management/mailconfig.py index f8c88a8a..9a9f8407 100755 --- a/management/mailconfig.py +++ b/management/mailconfig.py @@ -418,7 +418,7 @@ def dovecot_quota_recalc(email): # a reload is necessary to reread the quota setting, but it will also shut down # running dovecot processes. Email clients generally log back in when they lose # a connection. - subprocess.call(['doveadm', 'reload']) + # subprocess.call(['doveadm', 'reload']) # force dovecot to recalculate the quota info for the user. subprocess.call(["doveadm", "quota", "recalc" "-u", "%s" % email])