Hi all,
We use prefix=INBOX. in order to keep things as they were on the old server. Now I started playing with quota and have trouble getting the additional quota for Trash and/or Junk working. My expectation was that once a user is over quota and moves email to trash sh/e should be able to receive new email again. That's what I cannot get to work with our setup.
Attached you find the config that I thought should be working. The numbers are ridiculously low but that's just for testing.
Here is some output from doveadm
doveadm quota get -u user Quota name Type Value Limit % User quota STORAGE 5422 5120 105 User quota MESSAGE 18 - 0
doveadm mailbox status -u user "messages vsize" "*" INBOX messages=13 vsize=3147033
doveadm mailbox status -u user "messages vsize" "INBOX.*" INBOX.Drafts messages=0 vsize=0 INBOX.Sent messages=0 vsize=0 INBOX.Trash messages=5 vsize=2475790 INBOX.Junk messages=0 vsize=0
Regards,
j.hofmüller
We are all idiots with deadlines. - Mike West
Hi all,
Since I did not manage to get quota for individual subfolders working I tried toying with quota_grace, which also does not work for me :( My approach was this:
plugin { quota = maildir:User quota quota_grace = 20%% quota_rule = *:storage=5M
}
I expected normal delivery of email when user is at 103% quota but the new email (even tiny ones with less than 1K) get's rejected with reason 'over quota'. Is this what dovecot is supposed to do or did I do something wrong?
Regards,
j.hofmüller
We are all idiots with deadlines. - Mike West
On 2.9.2014 14:26, Jogi Hofmüller wrote:
Hi all,
Since I did not manage to get quota for individual subfolders working I tried toying with quota_grace, which also does not work for me :( My approach was this:
plugin { quota = maildir:User quota quota_grace = 20%% quota_rule = *:storage=5M
}
I expected normal delivery of email when user is at 103% quota but the new email (even tiny ones with less than 1K) get's rejected with reason 'over quota'. Is this what dovecot is supposed to do or did I do something wrong?
Regards,
I think your question is answered by first sentence in http://wiki2.dovecot.org/Quota/Configuration#Quota_grace
Hi,
Am 2014-09-02 15:26, schrieb Jiri Bourek:
I think your question is answered by first sentence in http://wiki2.dovecot.org/Quota/Configuration#Quota_grace
I guess I totally misunderstood the quota_grace option then. To be clear: if the last mail brings the user just 1% over quota it doesn't matter that I e.g. set quota_grace = 10 %% because every further email will just be denied.
Too bad the extended quota for subfolders don't work in our setup (see my initial email).
Cheers,
J.Hofmüller
Nisiti - Abie Nathan, 1927-2008
On 2.9.2014 17:52, Jogi Hofmüller wrote:
Hi,
Am 2014-09-02 15:26, schrieb Jiri Bourek:
I think your question is answered by first sentence in http://wiki2.dovecot.org/Quota/Configuration#Quota_grace
I guess I totally misunderstood the quota_grace option then. To be clear: if the last mail brings the user just 1% over quota it doesn't matter that I e.g. set quota_grace = 10 %% because every further email will just be denied.
Yes. The grace value only protects the system from receiving huge last message.
Too bad the extended quota for subfolders don't work in our setup (see my initial email).
Cheers,
Hi,
Am 2014-09-02 22:04, schrieb Jiri Bourek:
Yes. The grace value only protects the system from receiving huge last message.
Alright then, back to the $subject. Who has a clue on how to get extended quota for subfolders working when using prefix=INBOX.?
Cheers,
J.Hofmüller
Nisiti - Abie Nathan, 1927-2008
participants (2)
-
Jiri Bourek
-
Jogi Hofmüller