Document ID: | 5447 |
---|---|
Subject: | ClamAV Integration Windows |
Creation date: | 3/15/21 12:20 PM |
Last modified on: | 9/11/23 11:07 AM |
To use ClamAV on Windows machines, follow the instructions below.
You can find the latest ClamAV installer for Windows in the "Windows" section here.
After you download and extract (or install) ClamAV, navigate to the install directory and look for the conf_examples folder. In here, there are two files; clamd.conf.sample and freshclam.conf.sample. Copy these files to the installation directory.
Once you copied the files, you will need to modify the two conf files; clamd.conf.sample and freshclam.conf.sample:
#Example
or remove this line."TCPSocket"
and confirm the port is 3310 and it is NOT commented out."TCPAddr"
is NOT commented out. You can either leave it at localhost or specify the ip addresses where ClamAV is installed at.clamd.conf
#Example
or remove this line.freshclam.conf
Open an elevated Windows DOS (Command Prompt in Administrator Mode) and navigate to the install directory.
Run the following command:
clamd.exe --install
This will install the clamd service. Next, run the following code:
freshclam.exe
This will update the current library. You can schedule this process via Windows Task Scheduler if you want to frequently update the library.
Open your Windows Services window and start the service: ClamAV ClamD
If you wish, you can also edit the service to launch at startup now.
Open your Xeams Admin console and navigate to Server Configuration -> Clam-AV Integration
In the hostname/IP field put the address to the machine where you installed ClamAV. If you installed it on the same machine Xeams is running on, put: localhost
For the port, set it to 3310
Click save and run the test to confirm it is successfully integrated.
Do you have a helpful tip related to this document that you'd like to share with other users?