Site icon perkinstuff.com

Completely Disable ClamAV In iRedMail

ClamAV can be a memory hog at the best of times. If your mail server is feeling the pinch then there is a useful article in iRedMail’s own documentation on disabling it:

Completely Disable ClamAV In iRedMail

However, I have found that whilst the steps work, they don’t go quite far enough. The problem is that although the changes stop iRedMail from scanning mails for viruses, they leave ClamAV running in the background.

This means it can still eat up excessive amounts of memory getting ready to do, well nothing!

Completely Disable ClamAV

Just one extra step can completely stop the unwanted service and free up all that precious memory:

sudo update-rc.d clamav-daemon disable
sudo update-rc.d clamav-freshclam disable

Thanks for reading, only a short article but I spent a lot of time working it out so hope it’s useful to some people!


Found This Useful?

If you have found this useful, why not help to support the site and buy me a coffee or perhaps a cheeky beer? Thanks!

Websites Built For You

You may also like Websites Built For You which focuses on web design and development in WordPress, PHP and Javascript.

Exit mobile version