Ask HN: Best mail server setup?

4 points by paule89 ↗ HN
I am currently using zoho for my mails and my domain. But i wanted to host my own mail server. The problem with it is it is just super extensive to setup. Isn't there an easy to use setup software including everything i need, like imap, spam, encryption and whatnot. Also it seems the same software is already used for years. Has nobody come up with a better solution?

7 comments

[ 3.2 ms ] story [ 36.0 ms ] thread
I use postfix / dovecot with postgrey for spam filtering and it does a very nice job, but I'm sure there is a virtual machine that you can download with an entire mail setup somewhere....
I used "MAIB" (mail-in-a-box) to setup a mail server on DigitalOcean.

I can't really recommend doing that there, and DigitalOcean advises against it for some good reasons. There are a lot of "gotchas" involved that require hoops to jump through to resolve, and they're not just related to DigitalOcean.

You're pretty much blacklisted by most of the big email providers before you send your first email because you're "untrusted", and you have to deal with them on an individual basis.

But, after having it up and running for over a year now and jumping through those hoops it's pretty awesome. I don't have to worry about my provider raising their prices, changing their services, or selling out to another company.

I can have and make as many email accounts as I want and don't have to pay extra for that, and I've got boilerplate code to integrate with any apps I make.

MAIB also has a built-in web base email client, and a "Cloud" app, that's available for each email account. It also has a built-in SSL cert manager that uses Certbot, and it has a built-in DNS server that I've really grown fond of and use for all my DNS needs now.

MAIB goes a long way to make it easier to setup and manage, and great community support, but it's still a fairly extensive ordeal to setup unless you're already familiar with the processes required to do that, and I wasn't when I started out.

All that said, I'm glad I did it. For me, it was well worth it.

I think I tried this before. Unfortunately I think the problem was that MAIB wasn't compatible with Ubuntu 16.04
You can install Postfix/Dovecot yourself, it's not super hard.
The problem with DO and other cloud providers is that it might happen that complete IP subnets are blocked by some providers or are on Spamhaus for example. If they have been used for spam once before it's super hard to get them "clean" again.

This is why I am running my own mail servers on my own IP addresses, because of that I don't have such problems, even sending to the big providers you mentioned is no problem.