On 05/02/17 16:04, Dominic Raferd wrote:
In contrast a "full service" mailcow install requires 800Mb at the
very least and 1Gb with some usage. Clamav is the real ram killer.
At the risk of going off-topic, is it worth using clamav? I run it
(via amavis) but it last picked up something 'real' 7 weeks ago.
(Freshclam is running and clamav does spot the EICAR test virus.)
IMHO if the server has at least 1Gb ram and you feel that protecting
windows users from a few potential viruses is a high enough priority
then, yes, the ~500Mb of ram that clamd uses has to be taken into
account. I stopped using it and spamassassin 4 or 5 years ago with
a few thousand mail accounts and no one noticed. Clients anti-virus
software detected the very few viruses that did get through.
Most of the problems we've had are due to phishing attacks when the
client did not use our bayesian spam filters so clamav would not
have helped in these cases anyway.
As for ram usage on smaller VPS/containers, rspamd is a good middle
ground option as it replaces spamassassin, at least, and has built
in bayesian and spf/dkim support.
FWIW courier-mta, courier-imap, authdaemon + sqlite and maildrop +
spamprobe will run in 64Mb ram (without PHP web services).