Dominique.Marant at univ-lille1.fr
Wed Nov 8 13:15:38 GMT 2006
I see the problem !
By default, the install doesn't replace the files in /usr/lib/MailScanner !!
So, in /usr/lib/MailScanner, the files was too old :
-rwxr-xr-x 1 root root 1077 Dec 3 2002 clamav-autoupdate
-rwxr-xr-x 1 root root 2104 Apr 1 2006
-rwxr-xr-x 1 root root 1437 Dec 3 2002 clamav-wrapper
-rwxr-xr-x 1 root root 6157 May 27 21:19
and so on for all Virus Scanning ...
Now, it's running successfully and I see the updates in the log.
FOR THE NEXT RELEASES :
I think it would be interesting to replace all the files in
/usr/lib/MailScanner by default.
Thanks for all
Glenn Steen a écrit :
> On 08/11/06, Dominique Marant <Dominique.Marant at univ-lille1.fr> wrote:
>> Ugo Bellavance a écrit :
>> > Dominique Marant wrote:
>> >> I installed install-Clam-0.88.6-SA-3.1.7
>> >> In virus.scanners.conf :
>> >> clamav /usr/lib/MailScanner/clamav-wrapper /usr/local
>> >> clamavmodule /bin/false /tmp
>> >> In MailScanner.conf :
>> >> Virus Scanners = clamavmodule
>> >> Monitors for ClamAV Updates = /usr/local/share/clamav/*.cvd
>> >> It seems that clamav is not automaticaly updated because I don't see
>> >> any change in /usr/local/share/clamav/ and I don't see clamav in
>> >> update.virus.scanners lines in the log.
>> >> How to configure MailScanner to update ClamAV every day ?
>> > This should be done hourly, automatically.
>> No, I installed install-Clam-0.88.6-SA-3.1.7 and I ran freshclam
>> And no update since yesterday :
>> # ls -l /usr/local/share/clamav
>> total 7000
>> -rw-r--r-- 1 mail mail 221948 Nov 7 15:00 daily.cvd
>> -rw-r--r-- 1 mail mail 6924820 Nov 7 15:00 main.cvd
>> > This info is not present in MailScanner's log.
>> > See /tmp/ClamAV.update.log
> This is the part of Ugos advice you should pay attention to.
> by hand, then check the mail log (to see which scanners it has
> detected, and tried to update... For this to work with clamavmodule,
> you need a correct entry for clamav in virus.scanners.conf), as well
> as the file /tmp/ClamAV.update.log (which holds the output from any,
> possibly failed, freshclam runs).
> Look at that, and report any errors... if you still need help with
More information about the MailScanner