[Dovecot] What causes the quota information to get updated?
Hello,
if new mails arrive, the quota information is updated and reported via imap immediately. However, after deleting a message, nothing happens. Even if I delete all messages and the mailbox e.g. was over quota, new mails won´t be accepted because the mailbox is over quota.
Is this the way it should be or a misconfiguration?
# 2.0.4: /usr/local/etc/dovecot/dovecot.conf # OS: Linux 2.6.26-2-amd64 x86_64 Debian 5.0.5 auth_mechanisms = plain login log_timestamp = "%Y-%m-%d %H:%M:%S " mail_debug = yes mail_gid = vmail mail_location = mdbox:~/mdbox mail_plugins = quota mail_uid = vmail managesieve_notify_capability = mailto managesieve_sieve_capability = comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date namespace { inbox = yes location = prefix = INBOX. separator = . type = private } passdb { args = /usr/local/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { quota = dict:User quota::file:%h/mdbox/dovecot-quota quota_rule2 = INBOX.Trash:storage=+50M quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=5%% quota-warning 5 %u sieve = ~/.dovecot.sieve sieve_global_path = /usr/local/etc/dovecot/sieve/default.sieve } protocols = imap sieve service imap-login { service_count = 1 } service managesieve-login { inet_listener sieve { port = 4190 } inet_listener sieve_deprecated { port = 2000 } service_count = 1 } ssl = required ssl_cert =
On Thu, 2010-10-28 at 19:31 +0200, Patrick Westenberg wrote:
if new mails arrive, the quota information is updated and reported via imap immediately. However, after deleting a message, nothing happens. Even if I delete all messages and the mailbox e.g. was over quota, new mails won´t be accepted because the mailbox is over quota.
Couple of guesses:
a) The messages haven't been expunged (only marked with \Deleted flag)
b) The messages still exist in Trash
mail_location = mdbox:~/mdbox
You could use doveadm to see what messages still exist. For example:
doveadm mailbox status messages '*'
participants (2)
-
Patrick Westenberg
-
Timo Sirainen