From 4bed2221629eea27aacc22db1a5c14c8d0671dc4 Mon Sep 17 00:00:00 2001 From: John Supplee Date: Wed, 6 Feb 2019 12:53:46 +0200 Subject: [PATCH] Fix bug where quotas are not being recalculated --- management/mailconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mailconfig.py b/management/mailconfig.py index 9a9f8407..0bca7b2a 100755 --- a/management/mailconfig.py +++ b/management/mailconfig.py @@ -421,7 +421,7 @@ def dovecot_quota_recalc(email): # subprocess.call(['doveadm', 'reload']) # force dovecot to recalculate the quota info for the user. - subprocess.call(["doveadm", "quota", "recalc" "-u", "%s" % email]) + subprocess.call(["doveadm", "quota", "recalc", "-u", email]) def get_default_quota(env): config = utils.load_settings(env)