does anyone have a good suggestion for running a mail server on my nixos box?

  • Xanza@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 hours ago

    The one thing I’ll never recommend anyone selfhost is email. It’s just plain not worth it.

    You can do literally everything right and still get cucked by spam filters because you’re not a recognized email provider.

    • IsoKiero@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      This seems to be a common point of view for email self hosting.

      However, my own experience is a whole another thing. Sure, my hosts have been on every spam list imaginable, mostly with Microsoft, but just a week ago I migrated the whole setup to new VPS and while there’s still a thing or two I’ll need to iron out the emails are running just fine. Biggest issue was that I forgot to add IPv6 DNS records for the VPS and thus got blocked by gmail, but they gave a clear error why that was and once I fixed the problem it’s been smooth sailing.

      With current domains I’ve been running things since 2016 or 2018 and even commercially. It’s mostly problem free and things just work, Microsoft being the bigest ass on to work with. For example last october/november they decided to reject everything from one of my servers but both their JMRP portal and support claimed that there’s nothing wrong with our server. It took couple of days to clear without any definitive explanation. But beyond that, on various environments since 2009 (I think) it’s been mostly problem free hosting.

      Sure, hosting email for anyone requires at least some understanding on how things should work (both technically and ethically/legally) and the skillset needed is a bit more complex than hosting a web site to public internet, but it’s still something practically anyone can do if they really want to.

      And sure, there’s a ton of stuff you need to get right. And then there’s cases when you miss something and your ‘Contact me’ web form becomes a spammer heaven and your servers end up sending few million viagra ads around the net and your IP/domain is on every shitlist there is. It takes some persistence and time to clean that up and learn from the experience, but it’s not the end of the world.

      Self hosting your email is perfectly viable, it can be done regardless of google/microsoft, and I hightly recommend doing that. Email is one of the last “old” fronts to the net where everything is not centralized to a single/few actors. But you really need to know what you’re doing. Copy’n’paste commands to set up whatever the latest hot stuff is on docker containers just isn’t enough.