Merge pull request #141833 from poscat0x04/dovecot-quota-backend

nixos/dovecot: use the count backend for quota plugin
This commit is contained in:
ajs124 2021-11-21 19:37:08 +01:00 committed by GitHub
commit 5816eb198f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}
''
)