Possible to set quota in size and number of messages
J Doe
general at nativemethods.com
Tue Aug 21 23:25:03 EEST 2018
Hi Reio and list,
It appears placing it at the end of the quota rules and then manually recalculating the quotas via doveadm has solved the problem!
Configuration:
plugin {
quota = dict:User quota::file:%h/dovecot-quota
quota_rule = *:storage=10G
quota_rule1 = INBOX/Inbox:storage=+30M
quota_rule2 = INBOX/Trash:storage=+30M
quota_rule3 = INBOX/Deleted Messages:storage=+30M
quota_rule4 = *:messages=100000
}
Recalculate quotas:
$ sudo doveadm quota recalc -u <account>
Restart Dovecot and Apple Mail.
Thanks,
- J
More information about the dovecot
mailing list