How do I disable ClamAV and SpamAssassin again?
How do I disable ClamAV and SpamAssassin again?
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
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
Re: How do I disable ClamAV and SpamAssassin again?
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.
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.
Re: How do I disable ClamAV and SpamAssassin again?
That is correct leave them blank.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