[Dovecot] quota not being calculated

Cor Bosman cor at xs4all.nl
Sat Apr 21 13:42:35 EEST 2012


On Apr 21, 2012, at 12:32 PM, Timo Sirainen wrote:

> On 21.4.2012, at 11.01, Cor Bosman wrote:
> 
>> prefix = Spam/
> .
>> quota2 = dict:Spam Quota::ns=spam:file:%h/spam-quota
> .
>> Apr 21 10:00:11 lmtp1 dovecot: imap(cor): Error: quota: Unknown namespace: spam
> 
> Oh. It would make more sense to have ns=spam, but unfortunately I hadn't thought of namespace names before v2.1. You need to use ns=Spam/

Exact same issue with dict quota. It starts out at 0 (even though there are 116 messages in the Spam folder. Then when 1 email gets saved to the Spam folder, the counter is increased by the size of that 1 email.

Cor





More information about the dovecot mailing list