Hello *,

my "freshclam.conf" contains

   OnUpdateExecute /usr/ClamAV/bin/freshclam.mail

and the refenced "/usr/ClamAV/bin/freshclam.mail" reads


| #!/bin/sh
| 
| cd /usr/ClamAV/data
| DIFF="/tmp/clamav-signatures.$$" ; /bin/rm -f $DIFF
| 
| MAIL="[EMAIL PROTECTED]"
| 
| /bin/mv signatures signatures.old
| /usr/bin/host -t txt current.cvd.clamav.net > signatures
| /usr/ClamAV/bin/sigtool --list-sigs | sort  >> signatures
| 
| /usr/bin/diff signatures.old signatures > $DIFF
| 
| if [ -s "$DIFF" ]
| then 
|      /usr/bin/Mail -s "ClamAV signatures updated" $MAIL < $DIFF
| fi
| 
| /bin/rm -f $DIFF
| 
| exit


This gave me a list of added signatures in the past. 
After switching to clamav-0.93 the output only shows

| 1c1
| < current.cvd.clamav.net descriptive text "0.93:46:6792:1208312590:1"
| ---
| > current.cvd.clamav.net descriptive text "0.93:46:6793:1208318674:1"


Why this? Is sigtool broken? Is my procedure broken in respect to version 0.93?
>From the log freshclam obviously does the job, but ...


--Frank Elsner 

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

Reply via email to