23 Apr
2012
23 Apr
'12
1:20 p.m.
On 21.4.2012, at 13.42, Cor Bosman wrote:
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.
http://hg.dovecot.org/dovecot-2.1/rev/4c8f79d1f9f1 should fix it with dict quota.