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

How do I disable ClamAV and SpamAssassin again?

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Locked
  • Print view
Advanced search
4 posts • Page 1 of 1
phocks
Posts: 5
Joined: Sun Dec 07, 2014 12:39 pm

How do I disable ClamAV and SpamAssassin again?

Post by phocks » Mon Dec 22, 2014 10:35 am

I installed and enabled ClamAV and SpamAssassin as per the instructions here: http://vestacp.com/docs/#how-to-install ... ian-ubuntu and it seemed to all work fine, but then I got too much RAM usage (for my 1GB VPS) and also SpamAssassin seemed to be blocking emails to the server for some reason.

My question is, how do I safely disable and remove ClamAV and SpamAssassin from my Vesta installation and from my server? I was just going to use apt-get remove etc but I thought it might cause problems with the config files.

Unfortunately I didn't make backup copies of the original configuration files so I'm unsure of what the changes were. I could probably decode the regex replacements with some effort, but someone more fluent in this might have an easier time of it... or if I could borrow someone's config files that could work too.

Cheers
Top

phocks
Posts: 5
Joined: Sun Dec 07, 2014 12:39 pm

Re: How do I disable ClamAV and SpamAssassin again?

Post by phocks » Mon Dec 22, 2014 12:03 pm

Ok so I figured I'd just comment out the SPAMASSASSIN and CLAMAV = YES lines in /etc/exim4/exim4.conf.template and restart exim, so far so good.

I also changed ENABLED=1 to ENABLED=0 in /etc/default/spamassassin

But I'm not sure what the defaults for these lines are:
sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav-daemon'/" /usr/local/vesta/conf/vesta.conf
sed -i "s/ANTISPAM.*/ANTISPAM_SYSTEM='spamassassin'/" /usr/local/vesta/conf/vesta.conf

So I just left it as a blank string ''

Then I uninstalled ClamAV and SpamAsassin.

Will see how that goes.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: How do I disable ClamAV and SpamAssassin again?

Post by joem » Mon Dec 22, 2014 11:04 pm

phocks wrote: But I'm not sure what the defaults for these lines are:
sed -i "s/ANTIVIRUS.*/ANTIVIRUS_SYSTEM='clamav-daemon'/" /usr/local/vesta/conf/vesta.conf
sed -i "s/ANTISPAM.*/ANTISPAM_SYSTEM='spamassassin'/" /usr/local/vesta/conf/vesta.conf
That is correct leave them blank.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How do I disable ClamAV and SpamAssassin again?

Post by skurudo » Wed May 04, 2016 12:35 pm

Modern way ^_^
viewtopic.php?f=12&t=11279#p43123
Top


Locked
  • Print view

4 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
 

 

cron

Login  •  Register

I forgot my password