[Dovecot] What causes the quota information to get updated?
Patrick Westenberg
pw at wk-serv.de
Thu Oct 28 20:31:07 EEST 2010
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 = </etc/ssl/certs/imap_wk-serv_net.crt
ssl_key = </etc/ssl/certs/imap_wk-serv_net.key
userdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
protocol imap {
mail_plugins = $mail_plugins imap_quota
}
More information about the dovecot
mailing list