Timo Sirainen wrote:
On Mon, 2009-02-16 at 00:13 +0100, Alex wrote:
Are you testing it correctly? Like http://wiki.dovecot.org/Quota/1.1 says: .. Yes I do. I leave my mailbox quota to 70% and I sent an email with an attachment that cross my 75% limit and also moved quota-warning script from root to /usr/local/bin and give vmail ownership.
Nothing to do for me :(
Is there something wrong in my config?
Your debug output was from imap, but you're crossing the quota from deliver. What does deliver log with mail_debug=yes when crossing the quota?
this from dovocot-deliver.log with mail_debug=yes:
deliver(alex@foo.org): Feb 16 00:10:31 Info: Loading modules from directory: /usr/lib64/dovecot/lda deliver(alex@foo.org): Feb 16 00:10:31 Info: Module loaded: /usr/lib64/dovecot/lda/lib10_quota_plugin.so deliver(alex@foo.org): Feb 16 00:10:31 Info: Module loaded: /usr/lib64/dovecot/lda/lib90_cmusieve_plugin.so deliver(alex@foo.org): Feb 16 00:10:31 Info: auth input: home=/var/vmail/foo.org/alex/ deliver(alex@foo.org): Feb 16 00:10:31 Info: auth input: mail=maildir:/var/vmail/foo.org/alex/ deliver(alex@foo.org): Feb 16 00:10:31 Info: auth input: uid=1000 deliver(alex@foo.org): Feb 16 00:10:31 Info: auth input: gid=12 deliver(alex@foo.org): Feb 16 00:10:31 Info: auth input: quota_rule=*:storage=9216 deliver(alex@foo.org): Feb 16 00:14:10 Info: Quota root: name=alex@foo.org backend=maildir args= deliver(alex@foo.org): Feb 16 00:14:10 Info: Quota rule: root=alex@foo.org mailbox=* bytes=9437184 messages=0 deliver(alex@foo.org): Feb 16 00:14:10 Info: Quota warning: bytes=6606028 (70%) messages=0 command=/usr/local/bin/quota-warning.sh 70 alex@foo.org deliver(alex@foo.org): Feb 16 00:14:10 Info: maildir: data=/var/vmail/foo.org/alex/ deliver(alex@foo.org): Feb 16 00:14:10 Info: maildir++: root=/var/vmail/foo.org/alex, index=, control=, inbox=/var/vmail/foo.org/alex