MailScanner --lint error

Jody Cleveland cleveland at winnefox.org
Tue Aug 7 21:02:09 IST 2007




On 8/7/07 1:00 PM, "Glenn Steen" <glenn.steen at gmail.com> wrote:

>>>>>> SpamAssassin reported no errors.
>>>>>> MailScanner.conf says "Virus Scanners = f-prot clamd"
>>>>>> Found these virus scanners installed: f-prot, clamavmodule
>>>>>> =========================================================================
>>>>>> ==
>>>>>> Ignore errors about failing to find EOCD signature
>>>>>> format error: can't find EOCD signature
>>>>>>  at /usr/sbin/MailScanner line 451
>>>>>> =========================================================================
>>>>>> ==
>>>>>> Virus Scanner test reports:
>>>>>> F-Prot said "./1/eicar.com  Infection: EICAR_Test_File"
>>>>>> 
>>>>> So your clamd setup isn't working. Either work your way through that,
>>>>> or switch to clamavmodule, which it seems to find OK...
>>>>> 
>>>> 
>>>> Isn't clamavmodule the slow one? I had switched to clamd because of clam
>>>> using 100% of the processor.
>>>> 
>>> No its clamav (ie. using clamscan command) that is the slow one. The
>>> clamavmodule works fine.
>> 
>> Ok, I changed it to clamavmodule, and now --lint gives me this error:
>> 
>> None of the files matched by the "Monitors For ClamAV Updates" patterns
>> exist! at /usr/lib/MailScanner/MailScanner/SweepViruses.pm line 527
>> 
>> - jody
>> 
> There is a section in MailScanner.conf for this.... Mainly what you
> need change is the monitor line so that it:
> a) Mathces where you have put your clamav signature databas(es), and
> b) match all the possible files comprising your DBs... That means one
> item for *,cvd, one item for *.inc/* and one item for *.*db (more or
> less...:-). separate the items by space.
> This has been covered several times over the last ... oh... 6 months
> or so... on this list, so if you need something to cut'n'paste, please
> look through the archives (there was a recent ... spat... of
> "misconfigurations" revealed by the last major incremental clamavdb
> update:-).
> IIRC Jules have enhanced the upgrade script to determine if this is
> set, although I think he doesn't really check if they seem sane...
> After all, only one of the .cvd or .inc items need be correct:-).

I actually found it on the front page of mailscanner.info

You also need to make one change to your MailScanner.conf file: "Monitors
for ClamAV Updates = /usr/local/share/clamav/*.inc/*
/usr/local/share/clamav/*.cvd"

I also added in /usr/local/share/clamav/*.*db like you suggested, and --lint
works fine now.

Thank you so much for taking the time to help me with this!

- jody



More information about the MailScanner mailing list