Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

turn off clamav for email?

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Bubblecatcher
Posts: 37
Joined: Tue Mar 06, 2018 8:38 am

Os: Debian 8x
Web: apache
turn off clamav for email?
  • Quote

Post by Bubblecatcher » Tue Mar 06, 2018 7:51 pm

Hi, would like to turn off claimav for email scanning and just have it scan the server?

thanks
Top

jodumont
Posts: 26
Joined: Fri Jan 05, 2018 3:03 pm

Os: Debian 8x
Web: nginx + php-fpm
Re: turn off clamav for email?
  • Quote

Post by jodumont » Tue Apr 10, 2018 8:52 am

You should

edit /etc/exim/exim.conf

Code: Select all

#CLAMD =  yes
CLAMD =  no
edit /usr/local/vesta/conf/vesta.conf and comment / remove clamav

Code: Select all

#ANTIVIRUS_SYSTEM='clamav'
ANTIVIRUS_SYSTEM=''
than disable and stop the service

Code: Select all

systemctl disable clamd
systemctl stop clamd
systemctl restart exim
test exim (send and receive email)
watch your log

tell me if it's work

Jonathan
Top

bruce7890
Posts: 6
Joined: Sun Apr 08, 2018 1:40 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: turn off clamav for email?
  • Quote

Post by bruce7890 » Wed Sep 19, 2018 8:08 am

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

Code: Select all

sudo mcedit /etc/exim4/exim4.conf.template
# edit /usr/local/vesta/conf/vesta.conf and comment / remove clamav
# #ANTIVIRUS_SYSTEM='clamav' becomes ANTIVIRUS_SYSTEM=''

Code: Select all

sudo mcedit /usr/local/vesta/conf/vesta.conf
# stop clamav-from running and restart the mail service

Code: Select all

sudo service clamav-daemon stop
sudo /usr/local/vesta/bin/v-restart-mail
# try a test email
# and reboot the machine to ensure everything survives
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password