[Dovecot] Quota warnings wrong behaviour (1.1.2)

Włodek Waligórski ratel at post.pl
Sat Aug 2 01:16:13 EEST 2008


Hi,

I use the latest version of dovecot 1.1.2. Thanks to the excellent docs 
I managed to get everything working so far, but ...

I'm experiencing such strange behaviour when user gets over 90% of quota 
(the threshold is such):
  1. user uses say 89% of his ~/Maildir
  2. message arrives that increases quota usage to 92%
  3. quota_warning is _NOT_ triggered
  4. user deletes the surplus message and gets back to 89% (quota_rule2: 
Trash:ignore)
  5. quota_warning is triggered and quota warning message arrives

So the event gets triggered when user passes the quota threshold, but 
from a "wrong direction". I would expect that message should arrive 
together with the surplus message.

Below I paste my dovecot.conf and "./configure" opts:

-------------------cut---------------------------------------
# dovecot -n
# 1.1.2: /usr/local/etc/dovecot.conf
base_dir: /usr/local/var/run/dovecot/
log_path: /dev/stderr
info_log_path: /dev/stderr
log_timestamp:
listen: 127.0.0.1:143
ssl_listen: 0:993
ssl_cert_file: /var/qmail/control/servercert.pem
ssl_key_file: /var/qmail/control/servercert.pem
ssl_cipher_list: ALL:!LOW
verbose_ssl: yes
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/imap-login
verbose_proctitle: yes
first_valid_uid: 89
last_valid_uid: 89
mail_uid: vpopmail
mail_gid: vchkpw
mail_location: maildir:~/Maildir
mail_debug: yes
mail_plugins: quota imap_quota
imap_client_workarounds: outlook-idle
auth default:
   user: vpopmail
   verbose: yes
   debug: yes
   passdb:
     driver: vpopmail
     args: quota_template=quota_rule=*:backend=%q
   userdb:
     driver: vpopmail
plugin:
   quota: maildir
   quota_rule: ?:storage=110485760
   quota_rule2: Trash:ignore
   quota_warning: storage=90%% /usr/local/bin/imap-quota-warning 90

-----------------------------------------------------------------------------------

# grep "./configure" config.log  | head -1
   $ ./configure --disable-ipv6 --without-passwd --without-passwd-file 
--without-shadow --without-pam --without-checkpassword --without-bsdauth 
--without-gssapi --without-sia --without-ldap --with-vpopmail 
--without-static-userdb --without-prefetch-userdb --without-sql 
--without-pgsql --without-mysql --without-sqlite --with-ssl=openssl

------------------------------------------------------------------------------------

My system is x86 Debian-testing, SMP.

-Włodek


More information about the dovecot mailing list