fix(mailbox_quota): ensure user quota visible.

Mail quota was not visible in Thunderbird. bug was havinf two
`quota =` rules. adjusted to `quota2=` for shared quota to diplay,
however, had no effect in display shared quota.

Disabled shared in the meantime.

MR !7
This commit is contained in:
2022-02-18 13:03:50 +09:30
parent 4c37932bf7
commit b3d80b41ca

View File

@ -11,6 +11,8 @@
plugin {
quota = maildir:User quota
# quota2 = maildir:Shared quota:ns=shared/
quota_rule = *:storage=200M
quota_rule2 = Trash:storage=+50M
quota_grace = 10%%
@ -24,17 +26,17 @@ plugin {
plugin {
#plugin {
quota = maildir:Shared quota:ns=shared/
quota_rule = *:storage=200M
# quota2 = maildir:Shared quota:ns=shared/
# quota_rule = *:storage=200M
quota_max_mail_size = 25M
# quota_max_mail_size = 25M
quota_status_success = DUNNO
quota_status_nouser = DUNNO
quota_status_overquota = "552 5.2.2 Mailbox is full"
# quota_status_success = DUNNO
# quota_status_nouser = DUNNO
# quota_status_overquota = "552 5.2.2 Mailbox is full"
}
@ -54,8 +56,8 @@ plugin {
plugin {
quota_warning = storage=50%% quota-warning 50 %u
quota_warning2 = storage=80%% quota-warning 80 %u
quota_warning2 = storage=90%% quota-warning 90 %u
quota_warning3 = storage=95%% quota-warning 95 %u
quota_warning3 = storage=90%% quota-warning 90 %u
quota_warning4 = storage=95%% quota-warning 95 %u
}
# Example quota-warning service. The unix listener's permissions should be