Thanks for your reply!
It just won’t work at all on low-memory servers.
Oh, good to know. I learned it the hard way . 2 days ago I tried the
clamd option because I read in the forums it could work, but again the server froze. The only difference is that it did after booting hehe.
Where’d you get that idea? (If our docs or something suggest that, I’d like to update it to reflect current reality.)
I followed Virtualmin tutorial video more than a year ago, it uses a 1 GB RAM server too. I just searched the video to check the wizard text:
Run ClamAV server scanner?
- Yes (more RAM used, faster mail processing - approximately 600M)
- No (less RAM used, slower mail processing)
Nothing suggests is intended for low-memory servers. I probably got confused with the “less RAM used”, suggesting less than 600M is used. Anyway, now I know it’s still a big amount of RAM.
Also, in this doc: https://www.virtualmin.com/documentation/email/spam-av says
If your system is receiving a large amount of email, I recommend the use of
clamd . It probably isn’t worth running on a system used primarily as a web server though, as it consumes about 64M of RAM at all times.
is 64M the right value? I didn’t have luck with
Another question, in this forum a user said:
Ever since I turned on blacklisting (via Spamhaus Zen) and greylisting on my previous mail server, nearly no viruses at all made it through anymore, despite I had no virus filter. (It was a low-traffic server though, so not fully representative).
I already have blacklisting on and I don’t know if I should disable ClamAV, since the OOM killer is killing it anyway. I know the best solution will be to increase the server RAM. Regarding security, is it crazy to disable ClamAV just because of having a good spam filter? seems like a security hole.
If I set all the emails on a Virtual Server as
Mail aliases and redirect all mails to Gmail accounts for instance, could I safely disable ClamAV?
I don’t have much experience with mail servers, so I don’t know if redirection can still present a security issue without ClamAV enable.