mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-25 07:47:05 +00:00
Fix bug where quotas are not being recalculated
This commit is contained in:
parent
44a31733ac
commit
4bed222162
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user