# Clamav and spamassassin

**URL:** <https://forum.hestiacp.com/t/clamav-and-spamassassin/6326>\
**Category:** Uncategorized\
**Created:** [May 12, 2022, 11:55am UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326 "2022-05-12T11:55:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![verus](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/v/aeb1de/32.png) [@verus](https://forum.hestiacp.com/u/verus)\
**Post date:** [May 12, 2022, 11:55am UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/1 "2022-05-12T11:55:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [May 12, 2022, 12:01pm UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/2 "2022-05-12T12:01:42Z")

</div>

See [Getting Started — Hestia Control Panel documentation](https://docs.hestiacp.com/getting_started.html#getting-hestia-installation-script)

So add: --spamassassin no --clamav no

---

<div class="post-metadata">

**Author:** ![verus](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/v/aeb1de/32.png) [@verus](https://forum.hestiacp.com/u/verus)\
**Post date:** [May 12, 2022, 12:15pm UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/3 "2022-05-12T12:15:06Z")

</div>

Can I still now remove those packages?

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [May 13, 2022, 6:46am UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/4 "2022-05-13T06:46:37Z")

</div>

Replace:

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

```

With:

```auto
ANTISPAM_SYSTEM=''
ANTIVIRUS_SYSTEM=''

```

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

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

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

```

With

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

```

restart exim4 service

And run apt remove clamav spamassassin

---

<div class="post-metadata">

**Author:** ![verus](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/v/aeb1de/32.png) [@verus](https://forum.hestiacp.com/u/verus)\
**Post date:** [May 13, 2022, 7:53am UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/5 "2022-05-13T07:53:58Z")

</div>

Thank you, it’s fine now.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [June 12, 2022, 7:54am UTC](https://forum.hestiacp.com/t/clamav-and-spamassassin/6326/6 "2022-06-12T07:54:40Z")

</div>

Closed on June 12, 2022, 7:54am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
