Am 02.08.2010 16:39, schrieb Timo Sirainen:
On Mon, 2010-08-02 at 15:34 +0200, Martin Ott wrote:
thanks for your answer. I triggered the problem down to the lazy_expunge plugin. When I remove lazy_expunge from mail_plugins, quota gets calculated as expected. How can I change the quota_rule, so that only the namespace with prefix INBOX is regarded?
namespace: type: private separator: / prefix: INBOX/ .. plugin: quota: maildir:User quota
See if this works:
quota = maildir:User quota:ns=INBOX/
with
quota: maildir:User quota:ns=INBOX/
log says Aug 3 07:43:11 vlmail01 dovecot: IMAP(user): quota maildir: No maildir storages, ignoring quota. Aug 3 07:43:25 vlmail01 dovecot: deliver(user@domain.com): quota maildir: No maildir storages, ignoring quota.
and
- PREAUTH [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk QUOTA] Logged in as mott a getquotaroot INBOX
- QUOTAROOT "INBOX" "User quota"
- QUOTA "User quota" (STORAGE 0 2048000) a OK Getquotaroot completed.