Well, As I've told in my previous message I think that there is a problem in the code that handles quota_warnings, the quota_rules works fine.
If you activate DEBUG in the plugin you can see debug values for the quota_rule settings, but unfortunately not for the quota_warning ones.
Do you have tested my patch?
Regards Juan C. Blanco
adam_jh@hotmail.com wrote:
Having tried and failed to get 1.0.8 with quota-rewrite to send warnings, I removed the 1.0.8 and installed the latest 1.1 - however I still can't get the warnings! Can someone advise what might be wrong - it must be my configuration??
To compile 1.1 I used ./configure --with-deliver --with-mysql. I've chopped and changed my conf till I'm blue in the face. My dovecot-mysql.conf file does not override the quota, I've enabled the debug and verbose = yes - but they don't mention any quota warnings, just normal delivered logs. What else can I do?
The process I use is to add up the maildirsize totals, set a storage figure in the conf which makes the maildirsize just less than 95%, then restart dovecot, send an email - and nothing - no warning is triggered!
Any help appreciated - I've spent so long on this now. adam
# 1.1.beta11: /usr/local/etc/dovecot.conf protocols: imap imaps pop3 pop3s ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot-login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login mail_extra_groups: mail mail_location: maildir:/var/vmail/%d/%n mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): outlook-idle delay-newmail imap_client_workarounds(imap): outlook-idle delay-newmail imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: user: nobody verbose: yes debug: yes passdb: driver: sql args: /usr/local/etc/dovecot-mysql.conf userdb: driver: sql args: /usr/local/etc/dovecot-mysql.conf socket: type: listen client: path: /var/spool/postfix/private/auth user: postfix group: mail master: path: /var/run/dovecot/auth-master user: vmail group: mail plugin: quota: maildir quota_rule: *:storage=220000b quota_warning: storage=95%% /usr/local/bin/quota-warning 90
-- +----------------------------------------------------------------+ | Juan C. Blanco | | | | Centro de Calculo | | | Facultad de Informatica U.P.M. | E-mail: jcblanco@fi.upm.es | | Campus de Montegancedo | | | Boadilla del Monte | Tel.: (+34) 91 336 7466 | | 28660 MADRID (Spain) | Fax : (+34) 91 336 6913 | +----------------------------------------------------------------+