Disable spamassassin and clamd

To disable spamassassin and clamd in /usr/local/vesta/conf/vesta.conf change from:

ANTIVIRUS_SYSTEM='clamav-daemon'
ANTISPAM_SYSTEM='spamassassin'

to:

ANTIVIRUS_SYSTEM=''
ANTISPAM_SYSTEM=''

In /etc/exim/exim.conf change from yes to no:

SPAMASSASSIN = no
CLAMD =  no

Then disable and stop services:

systemctl disable spamassassin
systemctl disable clamd
systemctl stop spamassassin
systemctl stop clamd

Restart vesta service

systemctl restart vesta