I’m contemplating taking control of my email by moving away from mainstream providers like Gmail or Outlook. What self-hosted email services have you tried, and which ones do you find most reliable and user-friendly? Are there any challenges or advantages you’ve encountered in making the switch?

  • HoustonBOFH@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    The problem with selfhosting email, is that unlike other self hosted things, it lives in a distributed system. It has to talk with other mail servers and they have to talk back. The second part is hard due to spam measures…

    For just the software side, you have a few options. Mail cow, iRedmail, and Mailinabox are very popular. Linuxbabe has instruction on how to build it from scratch using postfix. (Good to learn, but a LOT of work) But recently I stumbled on Modoboa. It does not need docker, so you can run it alone. It is not split foss with everything good behind a paywall. And it does not install unneeded apps like DNS for no reason. But keep in mind that I have only evaluated it so far and not yet put it in production.

    Now for the other needs… To receive mail, you will need a static IP. Theoretically, you can get by with a dynamic DNS, but it will not go well. Your IP will change, and it will still be cached and you will lose email.

    To send mail… (This is a lot more) You will need a clean static IP, with a fqdn and ptr record matching. It will need to be clean, and not in a blocked range of IPs. You will also need SPF and DKIM records, and may need dmarc. And you will need to warm up the mail server and maintain it’s cleanliness. Or you can contract out your outbound to other companies like MXroute. If you farm out your outbound, it eliminates most of the complaints above. If you have the skill, you may be able to only route Microsoft and Google destined email, and direct deliver the rest yourself. (I am working on this)