Hi Martin

We use

SCANFILE1      C:\ClAV\ClamDScan.exe --quiet --no-summary -l report.txt
VIRUSCODE1     1
REPORT1        .

It's long time ago, but I remember that the command line paths shouldn't be too 
long, as then called there will be added also the entire path to the 
Dxxxxxx.smd file in the spool/proc path.

Also I remember that there are different ports of ClamAV, and my command line 
looks like I'm using a different one then you: 
https://github.com/clamwin/clamav-win32



Markus




Von: community@mailsbestfriend.com [mailto:community@mailsbestfriend.com] Im 
Auftrag von Martin Schaible
Gesendet: Freitag, 25. November 2016 22:59
An: community@mailsbestfriend.com
Betreff: [MBF] ClamAV

Hello

I like to run ClamAV as a second virus scanner


Entries in the file virus.cfg
# CLAMAV
SCANFILE D:\SmarterMail\Declude\Scanners\ClamAV\clamscan.exe 
--database="D:\SmarterMail\Declude\Scanners\ClamAV\Database" 
--tempdir="D:\SmarterMail\Declude\Scanners\ClamAV\Temp" 
--log="D:\SmarterMail\Logs\ClamAV\clamd.log" --move="D:\SmarterMail\Quarantine" 
--quiet --no-summary --verbose
VIRUSCODE 1

I tested this on the command line by adding a copied mail at the end:
SCANFILE D:\SmarterMail\Declude\Scanners\ClamAV\clamscan.exe 
--database="D:\SmarterMail\Declude\Scanners\ClamAV\Database" 
--tempdir="D:\SmarterMail\Declude\Scanners\ClamAV\Temp" 
--log="D:\SmarterMail\Logs\ClamAV\clamd.log" --move="D:\SmarterMail\Quarantine" 
--quiet --no-summary -verbose D:\Temp\foobar.eml

This worked out very well.

Declude can not do it. I got this message in the virus log of declude:

11/25/2016 22:53:10.991 -616085515090 Error 87 starting scanner [ 
D:\SMARTE~1\Spool\proc\work\-61608~1.VIR\]; NOT SCANNING ATTACHMENTS! Error 
String: [Falscher Parameter.]
11/25/2016 22:53:10.991 -616085515090 Scanned: Error starting scanner

I also tried to work with the old 8.3 Path names like D:\Smarte~1\...

Any idea, why declude can not start the scanner?

Many Thanks

Freundliche Grüsse

--------------------------------------------------------------------------------------
netfusion GmbH | Martin Schaible
Mittelfeldstrasse 27 | CH-8700 Küsnacht | Switzerland
Tel.: +41 44 585 22 54

E-Mail: mar...@netfusion.ch<mailto:mar...@netfusion.ch>
Internet: www.netfusion.ch<http://www.netfusion.ch/>
Helpdesk und Community: portal.netfusion.ch<http://portal.netfusion.ch/>
Wir sind auch auf Facebook präsent: 
www.facebook.com/NetfusionGmbH<http://www.facebook.com/NetfusionGmbH>
--------------------------------------------------------------------------------------

[nfqrcode150x150]

Reply via email to