1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-24 07:37:04 +00:00

Fix bug where quotas are not being recalculated

This commit is contained in:
John Supplee 2019-02-06 12:53:46 +02:00
parent 44a31733ac
commit 4bed222162

View File

@ -421,7 +421,7 @@ def dovecot_quota_recalc(email):
# subprocess.call(['doveadm', 'reload']) # subprocess.call(['doveadm', 'reload'])
# force dovecot to recalculate the quota info for the user. # 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): def get_default_quota(env):
config = utils.load_settings(env) config = utils.load_settings(env)