An unofficial native Windows port for ClamAV is available at the following address: http://oss.netfarm.it/clamav/
Please note that the official Windows port for the ClamAV product is not maintained anymore and is also very outdated.
This tutorial explains how to install ClamAV as a Service on the Windows XP/2003 platform. 1.
Download the ClamAV product from this location: http://oss.netfarm.it/clamav/files/clamav-win32-0.94.2.7z. 2.
Unzip the file to C: This will create a folder C:\clamav 3.
This archive contains a folder Microsoft.VC80.CRT with 4 files.
You need to place this whole folder in either C:WINDOWSsystem or C:WINDOWSsystem32, so that the files are now available at C:WINDOWSsystemMicrosoft.VC80.CRT or C:WINDOWSsystem32Microsoft.VC80.CRT 4.
Now run the file C:clamavclamav.reg. This will add entries to the registry, for running clamav scanning and update service. 5.
Go to the cmd prompt and change to C:clamav folder
This will download the latest virus signatures, and update the database. After the download process is complete, create a new folder to resemble the following path: c:clamavdb. Move the following files in the new directory:
Run clamd --install
This will install the ClamAV Antivirus Scanner Service in Windows. 7.
Run freshclam --install
This will install the ClamAV Antivirus Database Updater Service 8.
Click on Start >> Run >> type services.msc
and click the OK
This will open the service management console.
In the right column, search for 'ClamWin Free Antivirus Database Updater' and 'ClamWin Free Antivirus Scanner Service'.
Double-click each service in turn, set Startuptype
, click on the Start
button to start the service and click OK
to close the service properties Windows.
Close the Service Management Window when you are finished with both the services. 9.
The Clamav service runs on port 3310.
To check if the service is available on port 3310, go to the command prompt and run netstat -an |find "3310"
The result of the command should be - TCP 0.0.0.0:3310 0.0.0.0:0 LISTENING 10.
Login via Webadmin interface and navigate to Security & Filtering -> Antivirus & Antispam -> click "Enable" for the ClamAV filter.
Please note that you should now see the "Available
" status near ClamAV
In order to test ClamAV
please read this
article.Note: You should keep the antivirus database up-to-date in order to keep your email clean. Please refer to ClamAV official site for maintaining ClamAV.