I've also built a couple of very large mail clusters (full 42U rack sized, 20+ machines) for ISPs before running courier, sendmail and procmail and it's really not that much management or effort to get it off the ground. The real bugger is getting a management front end on it all (postfixadmin doesn't cut it on that scale so it's LDAP time which isn't much fun).
I've rather horribly dealt with Exchange (2000, 2003) and that's just a whole pile of pain. My noble Exchange battling colleagues inform me that it still stinks.
Also, you spam statistic sounds way off for a setup that doesn't explicitly deal with spam.
== set up mutt ==
$ sudo apt-get install mutt
$ echo "export [email protected]" >> ~/.profile
$ source ~/.profile
== postfix ==
$ sudo apt-get install postfix
.. answer system mail name as your host name
.. add your domain to domains to accept email for
.. Follow instructions here WRT SPAM:
https://wiki.debian.org/Postfix#anti-spam:_smtp_restrictions
.. basically add two lines to /etc/postfix/main.cf
$ sudo service postfix restart
$ ufw allow 25 # allow smtp in firewall. I use ufw.
.. add your hostname as the MX for your domain (I use 123-reg)
.. Visit mxtoolbox.com and check the machine isn't an open relay and is functioning correctly
== procmail ==
$ sudo apt-get install procmail
.. add following to /etc/postfix/main.cf
mailbox_command = /usr/bin/procmail -f- -a "$USER"
$ sudo service postfix reload
== root alias ==
$ echo "root: youruseraccount" >> /etc/aliases
$ sudo newaliases
Done.I genuinely get virtually no SPAM. RBLs and postfix sender validation above seems to work pretty well on its own.
I've done the same on OpenBSD with OpenSMTPd and spamd with even less effort.
It required some upfront configuration, but it has run itself with minimal configuration changes and 'apt-get' updates for almost 6 years now. I never touch it, and it works.
> It's not just the configuration, your service will always be subpar. At least until there's a good webmail (I have high hopes for Mailpile).
That assumes that user's want to primarily use webmail. In this renaissance of Mac OS X mail clients and mobile phones, that hasn't been the case here.
Still took me a weekend to get ACLs right, tune the threshold for greylisting (I greylist e-mails which score between two and seven points in Spam Assasin), set up DKIM and SPF... it's not difficult but there's a long list of things to do.
If you're doing it just for yourself, exim, spamd and mutt are enough. But I wouldn't want to be responsible for a larger installation with regular, non-technical users.
It's not just the configuration, your service will always be subpar. At least until there's a good webmail (I have high hopes for Mailpile).