nixos/dovecot: use the count backend for quota plugin

This commit is contained in:
Poscat 2021-10-16 09:52:18 +08:00
parent 2cf9db0e3d
commit afd62c2773
No known key found for this signature in database
GPG Key ID: B07A14730590D73B

View File

@ -103,11 +103,12 @@ let
plugin {
quota_rule = *:storage=${cfg.quotaGlobalPerUser}
quota = maildir:User quota # per virtual mail user quota # BUG/FIXME broken, we couldn't get this working
quota = count:User quota # per virtual mail user quota
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
quota_grace = 10%%
quota_vsizes = yes
}
''
)