On Tue, 2011-09-13 at 11:06 +0300, Peter Ignatov wrote:
Hi,
# doveadm -Dv quota get -u pit doveadm(pit): Debug: auth input: pit system_groups_user=pit uid=500 gid=500 home=/home/pit doveadm(pit): Debug: Effective uid=500, gid=500, home=/home/pit doveadm(pit): Debug: Quota root: name=INBOX backend=fs args=mount=/var/spool/mail doveadm(pit): Debug: Quota rule: root=INBOX mailbox=* bytes=19922944 messages=0 doveadm(pit): Debug: Quota warning: bytes=3984588 (20%) messages=0 reverse=no command=quota-warning 20 pit Quota name Type Value Limit % INBOX STORAGE 4824 19456 24
But don't start script quota-warning.sh:
Have you read (and understood) when the quota warning gets run? Just because you're over quota now doesn't mean that the script is going to be run.
http://wiki2.dovecot.org/Quota/Configuration#Quota_warnings
(It's possible that there's a bug here with FS quota since no one's probably tried it before, but it's a lot of trouble for me to actually test that..)