Displaying 1 result from an estimated 1 matches for "postmasteremail".
2013 Nov 07
2
my quota warning script not getting executed2
..._message=Quota exceeded please go http://www.go.com .
quota_warning = storage=99%% /usr/local/bin/quota-warning.sh 99 %u
quota_warning2 = storage=98%% /usr/local/bin/quota-warning.sh 98 %u
quota_warning3 = storage=97%% /usr/local/bin/quota-warning.sh 97 %u
and this is quota-warning.sh
FROM="postmasterEmail"
msg="From: $FROM
To: TEST EMAIL
Subject: Your email quota is 10% full
Your mailbox is now 10% full."
echo -e "$msg" | /usr/sbin/sendmail -f $FROM "TEST EMAIL "
exit 0
--
View this message in context: http://dovecot.2317879.n4.nabble.com/my-quota-warning-scri...