----- Original Message ----- From: "Noel Jones" <[EMAIL PROTECTED]> To: "ClamAV users ML" <clamav-users@lists.clamav.net> Sent: Friday, June 08, 2007 10:37 AM Subject: Re: [Clamav-users] sigtool and 90.x
> At 09:40 AM 6/8/2007, Efren Bravo wrote: >>Hi, >> >>I've this inside the freshclam.conf: >>--------------------------------- >># Run command after successful database update. >># Default: disabled >>OnUpdateExecute /usr/local/etc/freshclam-x/onupdt.sh >> >>and /usr/local/etc/freshclam-x/onupdt.sh have: >>---------------------------------------------- >>/usr/local/bin/sigtool -i /var/db/clamav/daily.cvd | mail -s "Antivirus >>Updt >>OK" [EMAIL PROTECTED] >> >>As I updated ClamAV from 88.x to latest version the file daily.cvd doesn't >>exist anymore, therefore the OnUpdateExecute command doesn't work. >> >>Now, how can I get the information of the daily DB? > > > You can use: > echo "clamav database updated" | mail -s "Clamav Update OK" > [EMAIL PROTECTED] > > or for more info, maybe: > clamscan /etc/motd | mail -s "clamav update OK" [EMAIL PROTECTED] > > -- > Noel Jones Why not to use sigtool, isn't it supported on the new ClamAV database version? _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html