# Remove clamav-daemon and spamd

**URL:** <https://forum.hestiacp.com/t/remove-clamav-daemon-and-spamd/14843>\
**Category:** General Questions\
**Created:** [June 23, 2024, 3:36pm UTC](https://forum.hestiacp.com/t/remove-clamav-daemon-and-spamd/14843 "2024-06-23T15:36:38Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [June 23, 2024, 4:49pm UTC](https://forum.hestiacp.com/t/remove-clamav-daemon-and-spamd/14843/6 "2024-06-23T16:49:03Z")

</div>

There is no need to reinstall.

```t
systemctl disable spamd
systemctl stop spamd
systemctl disable clamav-daemon
systemctl stop clamav-daemon
v-change-sys-config-value ANTIVIRUS_SYSTEM ''
v-change-sys-config-value ANTISPAM_SYSTEM ''

```

Edit exim4 conf `/etc/exim4/exim4.conf.template` and comment these lines:

Before:

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

```

After:

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

```

Save the file and restart exim.

```auto
systemctl restart exim4

```

---

_[View the full topic](https://forum.hestiacp.com/t/remove-clamav-daemon-and-spamd/14843)._
