Need help regarding clamav

Mr-Pro

Verified User
Joined
Dec 19, 2017
Messages
19
Hello guys ,

I'm new to directadmin . Is clamav installed by default ? Is it activated or do I need to activate it myself ? If so is there any tutorials for that ? I'm looking for a piece of software that can prevent viruses . What do you suggest ?

Regards ,
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

Directadmin does not install ClamAV by default, but it might be pre-installed from your OS repository. Directadmin might ask you and suggest installing it while installation process.

If ClamAV is not installed you can install it

Install the binaries:


Code:
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav
related: https://help.directadmin.com/item.php?id=370




ClamAV-related Settings in custombuild:


Code:
clamav: yes, no. Current value: yes. Default value: no.
clamav_exim: yes, no. Current value: yes. Default value: yes.
modsecurity_uploadscan: yes, no. Current value: no. Default value: no.
proftpd_uploadscan: yes, no. Current value: yes. Default value: no.
pureftpd_uploadscan: yes, no. Current value: no. Default value: no.
suhosin_php_uploadscan: yes, no. Current value: yes. Default value: no.
so you can use any of them:

- enable scan incoming emails with clamav (you need to update exim.conf afterwards):

Code:
./build set clamav_exim yes
- enable scan uploaded files over FTP with clamav (you need to re-install FTP server afterwards):


Code:
./build set proftpd_uploadscan yes
Code:
./build set pureftpd_uploadscan yes
- enable scan uploaded files via HTTP/HTTPS with clamav (you need to install suhosin and update php.ini settings afterwards):


Code:
./build set suhosin_php_uploadscan yes
- enable scan uploaded files via HTTP/HTTPS with clamav (you need to install modsecurity and update web-server's settings afterwards):


Code:
./build set modsecurity_uploadscan yes

Optional: install maldet scanner

p.s. search the forums and help.directadmin.com for more details.
 
Top