need help..ClamAV 0.94 and MailScanner 4.69.9

Julian Field MailScanner at ecs.soton.ac.uk
Fri Sep 5 09:48:36 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.
>   
Attached is a new clamav-wrapper, to go inside /opt/MailScanner/lib or 
/usr/lib/MailScanner, depending on your setup. It's in the same 
directory as all the other *wrapper and *autoupdate scripts.


Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clamav-wrapper.zip
Type: application/x-zip-compressed
Size: 2510 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080905/2656f6ac/clamav-wrapper.bin


More information about the MailScanner mailing list