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):
- user uses say 89% of his ~/Maildir
- message arrives that increases quota usage to 92%
- quota_warning is _NOT_ triggered
- user deletes the surplus message and gets back to 89% (quota_rule2: Trash:ignore)
- 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