I thought this problem had been pretty well beaten to death when 
Sanesecurity added their mirrors. In any case I put the set of 
scripts/Makefile I use on my web site:

http://www.westnet.com/~chris/Clamav/

These were not written for general distribution, so it is your 
responsibility to check all paths. They are all short enough, each does one 
small job.

I have a work dir I run everything from. To initiate an update (by hand or 
from cron) just run  make  in your work dir.  The Makefile runs a perl 
script for sanesecurity, and has an rsync rule directly for MSRBL-SPAM (I 
stopped using MSRBL-images). (And if someone knows how to make a rule always 
trigger without comparing it to an always changing log file I would love to 
hear it :-)

GetAll.pl  uses LWP::Simple to download Sanesecurity files only when they 
change. 

If any DB is updated, the database is checked, and the mklive.sh script uses 
rsync again to copy the DBs atomicly to the live location. The makefile 
invokes mklive.sh through sudo, this would  may need to be changed for your 
environment.

Finally, there is a simple cland-reload.pl script I wrote that connects to 
the socket and issues a RELOAD command.

Hope this helps. 

==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 948-3162
WestNet Internet Services of Westchester
http://www.westnet.com/
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to