Menu
perkinstuff.com
  • Home
  • Contact
perkinstuff.com

Completely Disable ClamAV In iRedMail

Posted on May 22, 2018June 4, 2020 by Steve
Share on Facebook Share on X (Twitter) Share on LinkedIn Share on Pinterest Share on Email

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!


Buy me a coffee

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.

7 thoughts on “Completely Disable ClamAV In iRedMail”

  1. Mike says:
    December 8, 2018 at 1:43 am

    Very useful thanks. One stimualting coffee duly provided! Enjoy.

    Reply
  2. Bryce Burts says:
    December 29, 2018 at 3:35 am

    Wow that was unusual. I just wrote an extremely long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent blog!

    https://extraproxies.com/tag/coord/

    Reply
    1. Steve says:
      December 29, 2018 at 4:07 am

      Thanks! Sorry, no idea why the post didn’t appear the first time. No record of it.

      Reply
  3. Andrew says:
    February 10, 2019 at 5:54 am

    Thank you!

    Reply
  4. foloren torium says:
    February 18, 2019 at 7:24 am

    Thanks for helping out, superb info .

    http://www.folorentorium.com/

    Reply
  5. Charles Harris says:
    October 17, 2019 at 5:26 am

    I tested this on Ubuntu 18.04 and iRedmail 0.9.9 and it worked! It nearly sliced my RAM usage in half! Thanks for the post!

    Reply
    1. Steve says:
      October 17, 2019 at 8:13 am

      That’s great, good to know someone is finding it useful. Thanks for the kind words!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Recent Posts

  • OneDrive Server Backup
  • Gutenberg Conversion – It’s Easy!
  • Gutenberg – Great Stuff
  • Download Floreant POS Receipt Reports For Epson TM-U220 Printer
  • Run A Cron Job With A ‘Random’ Time Interval

Archives

  • May 2020
  • May 2019
  • January 2019
  • December 2018
  • June 2018
  • May 2018

Categories

  • Backup
  • Development
  • Email
  • General
  • Javascript
  • PHP
  • Servers
  • WordPress
©2025 perkinstuff.com | Powered by WordPress & Superb Themes