To install ClamAV:
- Download the latest stable release of ClamAV from SourceForge:
- Install ClamAV. I strongly recommend changing the installation folder to C:\ClamAV
- Copy the two config files attached to this FAQ to the C:\ClamAV folder
- Create a sub-folder named C:\ClamAV\tmp
- Create a sub-folder named C:\ClamAV\db
- Create a sub-folder named C:\ClamAV\log
- Open a Command Prompt and CD to the C:\ClamAV folder
- Run freshclam.exe
- Once freshclam has downloaded and installed its databases, you are ready to enable ClamAV.
To enable the command line version of ClamAV in mxGuard:
- Update the mxGuard.ini file per the instructions mxGuard documentation setting the PathToEXE=C:\ClamAv\clamscan.exe
- Please see performance note below.
Be sure to schedule "freshclam.exe" to run at least once per day to ensure you have up to date signatures.
For a significant performance improvement:
You will want to use clamDscan.exe instead of clamscan.exe. In order to use this version of the client, the clamd.exe program must be running as a service. You will need srvany.exe, FireDaemon or any other utility designed for running "console applications" as "Windows services". Make certain you pass a parameter to clamd.exe service so it knows how to run and where to find the databases: -c c:\clamav\clamd.conf .
Once you have clamd.exe running as a service, you will need to:
- Update the mxGuard.ini file per the instructions mxGuard documentation setting the PathToEXE=C:\ClamAv\clamDscan.exe
- Restart the mxGuard service