[Dovecot] Question regarding quotas (is this a bug or intended behavior) ?
Gilles Chauvin
gilles.chauvin at univ-rouen.fr
Mon Dec 9 14:08:35 EET 2013
On 08/12/2013 22:05, Timo Sirainen wrote:
> On 4.12.2013, at 19.02, Gilles Chauvin <gilles.chauvin at univ-rouen.fr> wrote:
>
>> I tried to add the following quota_rule:
>> quota_rule3 = Trash/*:ignore
>>
>> But this doesn't fix anything.
>>
>> Do you have any idea about why this is not working ?
>
> It wasn’t implemented. But I guess it’s useful and there’s no harm in adding it, so: http://hg.dovecot.org/dovecot-2.2/rev/78b34eb7c6c5
>
Looks like something is broken now :-/
Config:
plugin {
quota = dict:Userquota::file:%h/dovecot-quota
quota_rule = *:storage=1G
}
# doveadm mailbox status -u myuser "messages vsize" INBOX
INBOX messages=765 vsize=151182915
# doveadm -f flow quota get -u myuser
Quota name=Userquota Type=STORAGE Value=145564 Limit=1048576 %=13
Quota name=Userquota Type=MESSAGE Value=765 Limit=- %=0
Config change only:
plugin {
quota = dict:Userquota::file:%h/dovecot-quota
quota_rule = *:storage=1G
quota_rule2 = Trash:ignore
}
# doveadm mailbox status -u myuser "messages vsize" INBOX
INBOX messages=765 vsize=151182915
# doveadm -f flow quota get -u myuser
Quota name=Userquota Type=STORAGE Value=145564 Limit=- %=0
Quota name=Userquota Type=MESSAGE Value=765 Limit=- %=0
Regards,
Gilles.
More information about the dovecot
mailing list