Why is my quota warning script not getting executed? :( dovecot version is 1.2.15 this is part of dovecot.conf protocol imap { listen = 127.0.0.1:143 #ji1 quota config mail_plugins = quota } quota = maildir:User quota quota_rule = *:storage=2M quota_exceeded_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-script-not-getting-executed2-tp45196.html Sent from the Dovecot mailing list archive at Nabble.com.
Benny Pedersen
2013-Nov-07 16:10 UTC
[Dovecot] my quota warning script not getting executed2
ihab skrev den 2013-11-07 14:33:> Why is my quota warning script not getting executed? :(1.2.15 is old, most users here just will say update to 2.x.x, but that sayed it would imho be possible to configure 1.x.x to have quota dict in sql, then postfix can imho temp fail based on that info in sql why did 2.x.x solve this with a policy service running in c code ? http://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/ am i sleeping ? also why not let imap users see the imap_quota in there mua like thunderbird ? or even roundcube/horde/squirrelmail ? :)
i solved the problem i was need to make the dovecot enable to debug the code i put debugger in warning script file and i found this error Thanks for alll ;) -- View this message in context: http://dovecot.2317879.n4.nabble.com/my-quota-warning-script-not-getting-executed2-tp45196p45336.html Sent from the Dovecot mailing list archive at Nabble.com.