With the latest HG Quota code cleanups there seem to be hicups with Sieve/LMTP. Please see excerpt below. Sieve processing fails, though quota is within limits:
[...] sieve: info: started log at Apr 05 09:06:36. error: msgid=20110405070128.315AF3173F0@eul0300650.eu.verio.net: failed to store into mailbox 'INBOX': Quota exceeded (mailbox for user is full).
[...]
Apr 5 09:06:36 spectre dovecot: lmtp(32005, alias@domain.tld): Error: 3X25MXy/mk0FfQAAqZii3w: sieve: script /var/vmail/domains/domains.tld/alias/.dovecot.sieve failed with unsuccessful implicit keep (user logfile /var/vmail/domains/domains.tld/alias/.dovecot.sieve.log may reveal additional details)
Fetch User quota:
$ doveadm quota get -u alias@domain.tld Quota name Type Value Limit % user STORAGE 151085 5242880 2 user MESSAGE 4118 - 0
[ doveconf -n ]
# 2.0.11 (230458801916): /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.1 auth_verbose = yes mail_location = mdbox:~/mdbox mail_plugins = acl quota namespace { hidden = no inbox = yes location = prefix = separator = / type = private } namespace { list = yes location = mdbox:/var/vmail/public prefix = Public/ separator = / subscriptions = no type = public } passdb { args = username_format=%u /var/vmail/auth.d/%d/passwd driver = passwd-file } plugin { acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300 mail_log_events = expunge mailbox_delete quota = dict:user::file:%h/mdbox/dovecot-quota quota_rule = *:storage=1GB quota_rule2 = Trash:storage=+10%% sieve = ~/.dovecot.sieve sieve_dir = ~/sieve sieve_global_dir = /var/vmail/conf.d/%d/sieve } protocols = imap lmtp quota_full_tempfail = yes service auth-worker { user = doveauth } service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = doveauth } service imap-login { inet_listener imap { address = 1.2.3.4 port = 143 } inet_listener imaps { port = 0 } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } ssl_cert =