need help..ClamAV 0.94 and MailScanner 4.69.9

Yashodhan Barve yashodhan.barve at gmail.com
Thu Sep 4 20:31:00 IST 2008


Hoger Nöfer wrote:
> Adam Gross schrieb:
>> I'm having the same problem as this one, and the fix here works...  However, I'm also seeing:
>>
>> <-----
>> Virus and Content Scanning: Starting
>> /usr/local/bin/clamscan: unrecognized option `--unzip'
>> ERROR: Unknown option passed.
>> ERROR: Can't parse the command line
>> ----->
>>
>> I didn't see a similar "unzipcmd" or "zipcmd" section so I was wary to make any changes.
>>
>> Adam Gross | agross at gcpsite.com | 859-630-8722
>>
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Yashodhan Barve
>> Sent: Thursday, September 04, 2008 8:29 AM
>> To: MailScanner discussion
>> Subject: Re: need help..ClamAV 0.94 and MailScanner 4.69.9
>>
>> Hoger Nöfer wrote:
>>   
>>> Yashodhan Barve schrieb:
>>>     
>>   
>>> Hi,
>>>
>>> have a look at /opt/MailScanner/lib/MailScanner/SweepViruses.pm, I
>>> comment out the
>>> following lines:
>>>     if ($rarcmd && -x $rarcmd) {
>>>       $Scanners{clamav}->{CommonOptions} .= " --unrar=$rarcmd";
>>>       MailScanner::Log::InfoLog("ClamAV scanner using unrar command %s",
>>>                                 $rarcmd);
>>>     }
>>>
>>>
>>> Best regards,
>>> Holger
>>>     
>> Thanks Holger. That worked.
>>
>> Martin, I had tried to use clamd in 0.92 days but the daemon kept dying 
>> and even monit could not restart it. So switched to clamscan, slower but 
>> always works.
>>
>> regards
>> yashodhan.
>>
>>   
> 
> Hi,
> 
> have a look at /opt/MailScanner/lib/clamav-wrapper, too.
> There are many ExtraScanOptions which are unknown in
> the latest clamav version.
> 
> regards,
> Holger

You have to comment out all the ExtraOptions in clamav-wrapper, then it 
should all work.

regards
yashodhan



More information about the MailScanner mailing list