[Dovecot] quota not updated

Timo Sirainen tss at iki.fi
Mon Aug 2 15:34:04 EEST 2010


On Mon, 2010-08-02 at 09:30 +0200, Martin Ott wrote:
> Hi,
> 
> we're using quota with the maildir backend. When new mail arrives, the quota
> gets updated. But when mail is expunged, quota stays the same (see imap dialog
> below). We're using the latest version from hg ( 1.2.13 ). Any ideas?

Anything in logs? What about with mail_debug=yes? Does maildirsize file
get changed? Any per-user quota overrides? What if you delete
maildirsize file and do GETQUOTAROOT INBOX in IMAP, does it recalculate
it correctly?

> plugin:
>   quota: maildir:User quota
>   quota_rule: *:storage=2000M
>   quota_warning: storage=95%% /usr/local/bin/quota-warning.sh 95
>   quota_warning2: storage=80%% /usr/local/bin/quota-warning.sh 80
>   quota2: maildir:Shared quota:ns=shared/
>   quota2_rule: *:storage=10000M

Try also temporarily disabling quota2 to see if it somehow confuses
Dovecot?



More information about the dovecot mailing list