> This is the way I do it: > OnUpdateExecute BASH_ENV=~clamav/.bashrc HOME=~clamav > /usr/local/bin/propagate_bd_clamav.sh | mail [EMAIL PROTECTED] -s "Freshclam > update $HOSTNAME" > OnErrorExecute tail /var/log/clamav/freshclam.log | mail [EMAIL PROTECTED] -s > "Freshclam error $HOSTNAME" > > propagate_bd_clamav.sh is a /bin/bash script that propagates the cvds to > other servers via sftp. that way they don't have to download it again. it > prints out its results to stdout, so it gets delivered by mail to > [EMAIL PROTECTED] > User clamav doesn't have a valid shell and I had to add the env variables > to > make it work.
Hi Samuel, Hmmm... Do you recall if you got an error message before you added the BASH_ENV stuff? I'm not getting any errors at all - it's just like nothing ever happened, even though both freshclam and clamd both report the database update. Also, what do you have in the .bashrc, if you don't mind me asking? Thanks! Benny -- "... i want to be a farting burping maniac." -- "kerry", on MentalDischarge _______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users