Clamav and spamassassin

Hi,
I did a new installation and ClamAV and spamassassin are installed by default.
Since ClamAV is using a lot of memory, I would like to disable that.

  1. Is it possible to disable that now the installation is done?

  2. How can I do a new installation without ClamAV and without spamassassin?

Thanks. Ph.

See Getting Started β€” Hestia Control Panel documentation

So add: --spamassassin no --clamav no

1 Like

Can I still now remove those packages?

Replace:

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

With:

ANTISPAM_SYSTEM=''
ANTIVIRUS_SYSTEM=''

in /usr/local/hestia/conf/hestia.conf

And in /etc/exim4/exim4.conf.template replace

SPAMASSASSIN = yes
SPAM_SCORE = 50
SPAM_REJECT_SCORE = 100
CLAMD = yes

With

#SPAMASSASSIN = yes
#SPAM_SCORE = 50
#SPAM_REJECT_SCORE = 100
#CLAMD = yes

restart exim4 service

And run apt remove clamav spamassassin

Thank you, it’s fine now.