Hi all, I have finally get working the quota with dovecot. Now i am setting up the quota warning, with this in dovecot.conf:
quota_warning = storage=70%% /usr/bin/quota_warning.sh 70 In the plugin section naturally. All seems to work fine, the quota is calculated right, but seems the script is not executed... In dovecot logs i have this: deliver([EMAIL PROTECTED]): Oct 27 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: [EMAIL PROTECTED] 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 executed. I thinked is a permission problem, but seems not. Now the script is like this: -rwx--x--x 1 dovecot dovecot 317 Oct 27 15:30 /usr/bin/quota_warning.sh What can be the problem? Stuck!!! Claudio. -- ------------ Claudio Prono Systems Development @ Atpss.net Srl, Divisione Implementazione Sistemi Via San Bernardino, 17 - 10137 Torino (TO) - IT Tel +39-011.32.72.100 Fax +39-011.32.46.497 PGP Fingerprint: 75C2 4049 E23D 2FBF A65F 40DB EA5C 11AC C2B0 3647 Disclaimer: http://atpss.net/disclaimer ------------