MailScanner --lint error

Scott Silva ssilva at
Tue Aug 7 22:36:12 IST 2007

Jody Cleveland spake the following on 8/7/2007 1:02 PM:
> On 8/7/07 1:00 PM, "Glenn Steen" <glenn.steen at> 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/  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/ 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
> 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
Another satisfied user!
Might I suggest buying the MailScanner book as a way to help reward the
developer and creator of this fine piece of software engineering?,mailscanner.140046559


MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

More information about the MailScanner mailing list