I run Moodle 2.3.1 on a shared hosting provider. ClamAV is installed and I tested it with Putty and an EICAR.txt file. It works.
If I put the path to ClamAV in moodle the path is not accepted an moodle starts sending mail to me saying that something is wrong?
ClamAV works (0.97.3) from the commandline. But not from within Moodle?