Generic virus scanner

Mark Sapiro mark at msapiro.net
Tue May 24 18:00:40 UTC 2016


On 05/24/2016 09:57 AM, Pascal Maes wrote:
> 
>> Le 24 mai 2016 à 18:50, Pascal Maes <pascal.maes at uclouvain.be> a écrit :

>> # MailScanner --lint
...
>> MailScanner.conf says "Virus Scanners = olevba sophos clamd"
>>


I assume the following is all debug output you added.


>> avast vexira sophossavi f-prot-6 inoculate esets clamavmodule kaspersky drweb nod32 clamav f-protd-6 none f-secure etrust mcafee antivir symscanengine bitdefender norman panda css command vba32 nod32-1.99 clamd f-prot generic trend sophos kavdaemonclient inoculan avastd rav avg mcafee6 kaspersky-4.5 
>>
>> /usr/share/MailScanner/avast-wrapper /usr -IsItInstalled gave: "1"
>> /usr/share/MailScanner/vexira-wrapper /usr/local/vexira -IsItInstalled gave: "1"
>> /bin/false /tmp -IsItInstalled gave: "1"
>> /usr/share/MailScanner/f-prot-6-wrapper /opt/f-prot -IsItInstalled gave: "1"
>> /usr/share/MailScanner/inoculate-wrapper /usr/local/av -IsItInstalled gave: "1"
>> /usr/share/MailScanner/esets-wrapper /usr/sbin -IsItInstalled gave: "1"
>> /bin/false /tmp -IsItInstalled gave: "1"
>> /usr/share/MailScanner/kaspersky-wrapper /opt/AVP -IsItInstalled gave: "1"
>> /usr/share/MailScanner/drweb-wrapper /opt/drweb -IsItInstalled gave: "1"
>> /usr/share/MailScanner/nod32-wrapper /usr/local/nod32 -IsItInstalled gave: "1"
>> /usr/share/MailScanner/clamav-wrapper /usr/local -IsItInstalled gave: "0"
>> /bin/false /opt/f-prot -IsItInstalled gave: "1"
>> /usr/share/MailScanner/f-secure-wrapper /opt/f-secure/fsav -IsItInstalled gave: "1"
>> /usr/share/MailScanner/etrust-wrapper /opt/eTrustAntivirus -IsItInstalled gave: "1"
>> /usr/share/MailScanner/mcafee-wrapper /usr/local/uvscan -IsItInstalled gave: "1"
>> /usr/share/MailScanner/antivir-wrapper /usr/lib/AntiVir -IsItInstalled gave: "1"
>> /usr/share/MailScanner/symscanengine-wrapper /opt/SYMCScan -IsItInstalled gave: "1"
>> /usr/share/MailScanner/bitdefender-wrapper /opt/bdc -IsItInstalled gave: "1"
>> /usr/share/MailScanner/norman-wrapper /usr/bin -IsItInstalled gave: "1"
>> /usr/share/MailScanner/panda-wrapper /usr -IsItInstalled gave: "1"
>> /usr/share/MailScanner/css-wrapper /opt/SYMCScan -IsItInstalled gave: "1"
>> /usr/share/MailScanner/command-wrapper /usr -IsItInstalled gave: "1"
>> /usr/share/MailScanner/vba32-wrapper /opt/vba/vbacl -IsItInstalled gave: "1"
>> /usr/share/MailScanner/nod32-wrapper /usr/sbin -IsItInstalled gave: "1"
>> /bin/false /usr/local -IsItInstalled gave: "1"
>> /usr/share/MailScanner/f-prot-wrapper /usr/local/f-prot -IsItInstalled gave: "1"
>> /usr/share/MailScanner/generic-wrapper / -IsItInstalled gave: "0"
>> /usr/share/MailScanner/trend-wrapper /pack/trend -IsItInstalled gave: "1"
>> /usr/share/MailScanner/sophos-wrapper /opt/sophos-av -IsItInstalled gave: "0"
>> /usr/share/MailScanner/kavdaemonclient-wrapper /usr/local -IsItInstalled gave: "1"
>> /usr/share/MailScanner/inoculan-wrapper /usr/local/inoculan -IsItInstalled gave: "1"
>> /usr/share/MailScanner/avastd-wrapper /usr -IsItInstalled gave: "1"
>> /usr/share/MailScanner/rav-wrapper /usr/local/rav8 -IsItInstalled gave: "1"
>> /usr/share/MailScanner/avg-wrapper /usr/local -IsItInstalled gave: "1"
>> /usr/share/MailScanner/mcafee6-wrapper /usr/local/uvscan -IsItInstalled gave: "1"
>> /usr/share/MailScanner/kaspersky-wrapper /opt/kav -IsItInstalled gave: "1"
>> Found these virus scanners installed: clamd, generic, sophos


MailScanner is not finding your scanner because it not in the %Scanners
array in SweepViruses.pm. You have to add it there with the appropriate
settings.

Granted this is all very arcane and not really amenable to adding your
own. It seems really wrong to even have something like
virus.scanners.conf when you have to hack the code anyway,  but
unfortunately, that's the way it currently is.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list