09 Jun

How to install ClamAV in DirectAdmin Linux Server

*** Note *** Technical support for ClamAV is very limited. Use at your own risk.

To install ClamAV:

1) Install the binaries:

cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav

If you’re running CustomBuild 2.0 exim.conf changes are not required, as it uses .include_if_exist options in the exim.conf.  Skip to Step 4.

2) Edit your /etc/exim.conf, and add the following before “primary_hostname  =”:

av_scanner = clamd:127.0.0.1 3310

Skip this step (#2) if you are running CustomBuild 2.0, as it adds this for you with /etc/exim.clamav.load.conf.

3) Restart Exim

<pre>systemctl restart exim</pre>

Leave a reply