These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Disabling ClamAV on Virtualmin GPL on the new forum.
Hi, I have a virtualmin GPL setup running several virtual hosts, with 2GB RAM. As emails arrive to the various users, sometimes several instances of clamscan start up simultaneously, each one using several hundred MB of RAM, causing other processes to crash due to no additional RAM available.
How can I either 1) force a single instance of clamav to stay running and share the antivirus definitions with all incoming email scans, or 2) disable clamav completely and bypass it for all incoming mail?
Thanks!
See here: https://www.virtualmin.com/documentation/email/spam-av
Disable clamav from boot.
Another solution is to limit incoming emails (e.g. one by one) but you will need 3rd party plugin for Postfix to achieve that. In case your are receiving/sending large amounts of emails you should really look at 3rd party solution like Spamexperts. They will do everything you need, e.g. rate limit, spam and virus check... for incoming and outgoing emails. This isnt free but they are the best. Another solution could be to go with services like GoogleApps, Zoho email (same as G but cheaper) or many others.
Volk gave you great advice so take his post and mine and see what is best solution for you.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.