At 03:45 PM 6/8/2007, Efren Bravo wrote:
> > 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]
> >
>
>Why not to use sigtool, isn't it supported on the new ClamAV database
>version?

Sigtool is to unpack/test/verify *.cvd files (and some other 
functions).   In particular, "sigtool -i" is only valid for a *.cvd 
packed/signed database.

Clamav since 0.90 may use scripted incremental updates rather than 
downloading the entire daily.cvd or main.cvd, allowing for more 
frequent updates and less load on the update servers.

Once a scripted update is applied, there will no longer be a *.cvd 
file, making sigtool irrelevant.
Sigtool is not required for the daily.inc/main.inc directories that 
show up after a scripted update as those do not contain packed/signed files.

Freshclam takes care of insuring that the scripted update is securely 
downloaded and applied correctly.  So if freshclam reports success in 
applying an update, the reasonable thing for your OnUpdateExecute 
script to do is simply report that an update occurred.

If you want information on the database version loaded, pipe the 
output of "tail /path/to/freshclam.log" or "clamscan --version" to mail.

-- 
Noel Jones 

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to