turn off clamav for email?
-
- Posts: 37
- Joined: Tue Mar 06, 2018 8:38 am
- Os: Debian 8x
- Web: apache
turn off clamav for email?
Hi, would like to turn off claimav for email scanning and just have it scan the server?
thanks
thanks
Re: turn off clamav for email?
You should
edit /etc/exim/exim.conf
edit /usr/local/vesta/conf/vesta.conf and comment / remove clamav
than disable and stop the service
test exim (send and receive email)
watch your log
tell me if it's work
Jonathan
edit /etc/exim/exim.conf
Code: Select all
#CLAMD = yes
CLAMD = no
Code: Select all
#ANTIVIRUS_SYSTEM='clamav'
ANTIVIRUS_SYSTEM=''
Code: Select all
systemctl disable clamd
systemctl stop clamd
systemctl restart exim
watch your log
tell me if it's work
Jonathan
Re: turn off clamav for email?
These notes worked for me on Ubuntu 16.04.05 and OpenVZ
# edit /etc/exim/exim.conf
# commend out the CLAMD line
# CLAMD = no
# this can also be done in Vesta
# server > exim4 > configure
# edit /usr/local/vesta/conf/vesta.conf and comment / remove clamav
# #ANTIVIRUS_SYSTEM='clamav' becomes ANTIVIRUS_SYSTEM=''
# stop clamav-from running and restart the mail service
# try a test email
# and reboot the machine to ensure everything survives
# edit /etc/exim/exim.conf
# commend out the CLAMD line
# CLAMD = no
# this can also be done in Vesta
# server > exim4 > configure
Code: Select all
sudo mcedit /etc/exim4/exim4.conf.template
# #ANTIVIRUS_SYSTEM='clamav' becomes ANTIVIRUS_SYSTEM=''
Code: Select all
sudo mcedit /usr/local/vesta/conf/vesta.conf
Code: Select all
sudo service clamav-daemon stop
sudo /usr/local/vesta/bin/v-restart-mail
# and reboot the machine to ensure everything survives