[Dovecot] Quota, message is never send?

Luuk@dovecot dovecot at vosslamber.nl
Sat May 12 11:50:11 EEST 2012


I think i have quota setup correctly, but finally time arrived to check
that ;)

opensuse:/etc/dovecot # doveadm quota get -u luuk
Quota name Type Value Limit %
User quota STORAGE 571973 716800 79
User quota MESSAGE  45555      -  0

It seems i am at 79% of my quota
so, i added a line to conf.d/90-quota.conf, to get a wraning when quota
exceeds 10%:
....
plugin {
  quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 %u
  quota_warning2 = storage=90%% /usr/local/bin/quota-warning.sh 90 %u
  quota_warning3 = storage=10%% /usr/local/bin/quota-warning.sh 10 %u
}
....

But this message is never send, what am i missing (in my config)?


Below is some info from a debug.log:
2012-05-12 10:40:51 imap(luuk): Debug: Effective uid=1000, gid=100,
home=/home/luuk
2012-05-12 10:40:51 imap(luuk): Debug: Quota root: name=User quota
backend=maildir args=
2012-05-12 10:40:51 imap(luuk): Debug: Quota rule: root=User quota
mailbox=* bytes=734003200 messages=0
2012-05-12 10:40:51 imap(luuk): Debug: Quota warning: bytes=697303040
(95%) messages=0 reverse=no command=/usr/local/bin/quota-warning.sh 95 luuk
2012-05-12 10:40:51 imap(luuk): Debug: Quota warning: bytes=660602880
(90%) messages=0 reverse=no command=/usr/local/bin/quota-warning.sh 90 luuk
2012-05-12 10:40:51 imap(luuk): Debug: Quota warning: bytes=73400320
(10%) messages=0 reverse=no command=/usr/local/bin/quota-warning.sh 10 luuk
2012-05-12 10:40:51 imap(luuk): Debug: maildir++:
root=/home/luuk/Maildir, index=, control=, inbox=/home/luuk/Maildir, alt=


More information about the dovecot mailing list