Displaying 1 result from an estimated 1 matches for "quotanotify".
Did you mean:
quota_notify
2008 Oct 27
2
quota warning not working
...15:14:53 Info: Quota warning:
bytes=10752000 (70%) messages=0 (0%) command=/usr/bin/quota_warning.sh 70
But...nothing happens.
My quota_warning.sh is this:
#!/bin/bash
PERCENT=$1
echo "/usr/lib/dovecot/deliver -d "$USER" -c
/usr/local/etc/dovecot-nowarning.conf" > /var/log/quotanotify
cat << EOF | /usr/lib/dovecot/deliver -d "$USER" -c
/usr/local/etc/dovecot-nowarning.conf
From: postmaster at mediaservice.net
Subject: quota warning
Your mailbox is now $PERCENT% full.
EOF
I have added the echo for debug pourpose, but no file was created, so
the script is not exec...