To install ClamAV:


  1. Download the latest stable release of ClamAV from SourceForge:
  2. Install ClamAV. I strongly recommend changing the installation folder to C:\ClamAV
  3. Copy the two config files attached to this FAQ to the C:\ClamAV folder
  4. Create a sub-folder named C:\ClamAV\tmp
  5. Create a sub-folder named C:\ClamAV\db
  6. Create a sub-folder named C:\ClamAV\log
  7. Open a Command Prompt and CD to the C:\ClamAV folder
  8. Run freshclam.exe
  9. Once freshclam has downloaded and installed its databases, you are ready to enable ClamAV.


To enable the command line version of ClamAV in mxGuard:


  1. Update the mxGuard.ini file per the instructions mxGuard documentation setting the PathToEXE=C:\ClamAv\clamscan.exe
  2. 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:

  1. Update the mxGuard.ini file per the instructions mxGuard documentation setting the PathToEXE=C:\ClamAv\clamDscan.exe
  2. Restart the mxGuard service