SV: Problem with ClamAV update

Steen, Glenn Glenn.Steen at AP1.SE
Tue Jun 14 12:20:44 IST 2005


Julian Field wrote:
(snip)
>> Looking at a copy of clamav-autoupdate you have:
   ^^^^^^^ <- ie "this is an example"
>> ------
>> $PackageDir = shift || "/usr/local";
>> 
>> $LogFile = "/tmp/ClamAV.update.log";
>> 
>> $ClamUpdateCommand = "$PackageDir/bin/freshclam";
>> 
>> -----
>> And since $PackageDir is set from the third column in
>> /etc/MailScanner/virus.scanners.conf (when called from
>>  update_virus_scanners, it seems you need change that from /usr to
>> /usr/local ... provided you've installed lcamav to /usr/local (which
>> it seems you've done). 
>> 
> 
> Very simple: If you have installed ClamAV under /usr/local then
> that's what needs to be in virus.scanners.conf. If you use my Clam+SA
> package, you will find it automatically corrects virus.scanners.conf
> for you.

And this differs from my explanation?
Apart from my little typo (lcamav -> clamav) we seem to suggest exactly
the same thing...;)

> Please don't start tweaking my wrapper or autoupdate scripts. You are
> asking (and deserve) a whole world of pain when you upgrade and
> forget to reinstall your "tweak".

Never! Nothing would be farther from my mind than suggest alterations to
the code... Which is probably why I don't:-).

-- Glenn

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list