Hmmm. I managed to get this working with messages=70 - which is easier to debug at least. Think I'm nearly there getting storage sizes to work (think I may have misunderstood the maildirsize file), then I'll try back in 1.0.8.

I'll post back if I get more problems, so ignore my problems for now.

Thanks,
adam




--------------------------------------------------
From: <[EMAIL PROTECTED]>
Sent: Wednesday, December 12, 2007 12:54 PM
To: <[email protected]>
Subject: [Dovecot] 1.1 beta 11 - no quota warnings

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

Reply via email to