|OS type and version||Debian 11|
|Virtualmin version||7.5 Pro|
On one of my domains I’ve installed Dolibarr. In the settings I can arrange so that clmadscan scans all files uploading to the server, but I can’t make it running.
My settings in Dolibarr are
Full path to antivirus command : /usr/bin/clamdscan (the file is there)
More parameters on command line : --fdpass
The above is according to what is reccomended by Dolibarr and also as what I can find when searching on clamdscan. Anyhow, when trying to scan, I’ve the message “The antivirus program was not able to validate the file (file might be infected by a virus)”.
There are for sure no virus in the file, so there is something else going on. If I replace clamdscan with clamscan (without a d in the middle) and take away --fdpass, then it scans, but it is impossible to use as each file takes at least 30 seconds to scan.
I’ve put the question on the Dolibarr forum, and had the advice to ask on the Debian forum, but I start by asking you as I’m using Virtualmin Pro.
So why does not clamdscan work? I had this issue a couple of years ago but just gave it up and have been running without virusscan, but it is kind of scary.
All the Best