Ask HN: What is the state of self-hosting email in 2026?

I mean both on your own server and on cheap but reliable VPS providers like Hetzner?

If you self-host email what is your current stack?

22 points | by 0o777 5 hours ago

14 comments

  • drpixie 2 hours ago
    Mail-in-a-box (https://mailinabox.email) on Ubuntu Server which installs Postfix, Dovecot, nsd, NextCloud, RoundCube, nginx, spam assasin, postgrey ... and a good admin panel.

    Mine runs on an Intel NUC at home, with the a sensible ISP who naturally can provide a fixed IP address (everything open), IPv6, and clean address.

    Been very happy with it, both the software, and the independence :) A little IT and network knowledge is useful if you're doing more than the standard (VPS) install, but that's to be expected.

  • mlaretallack 4 hours ago
    I have self hosted side 2001, mostly opensuse, with postfix, but the IMAP etc has changed over the years, now using dovecot. Yes its a pain, yes it takes effort, but just like some people spend there spare time painting, I run my own email server.
  • altern8 2 hours ago
    I've been self-hosting for almost 20 years.

    However, my server went down many, many times for hours without me noticing, sometimes for days.

    Despite today's outage, it's still more than worth having a third-party company like Google or Microsoft handle your email. At least they have monitoring 24/7 and people on call to fix issues when things stop working.

  • 0o777 2 hours ago
    Many good answers. But I was wondering how you guys appeal to the Big Two (Google and Microsoft) if you end up in either their publicly known or secret spam lists? Especially the latter seems to be a problem despite having set up spf, dkim, dmarc correctly.
    • brudgers 1 hour ago
      That’s why self-hosting is not a decision to be made lightly.

      And to be clear, if you are running a business you can be blocked by your customers’ infrastructure even if you are fine with the big boys.

      And that can happen if you are not self hosting but not using one of the big providers.

  • wg0 2 hours ago
    Same. It is not the server or hardware. It is where the email lands and what they do with your email based on the metadata.
  • bwindels 3 hours ago
    Haven't tried it myself but https://stalw.art/ looks interesting
  • vrubleg 4 hours ago
    Hetzner even has a straightforward guide to setting up a self-hosted mail server: https://community.hetzner.com/tutorials/setup-mailserver-wit...

    I'm also considering self-hosting email, but pretty much everything I've read suggests that keeping your emails out of spam folders is a huge pain. Still exploring different options.

  • jorge-fundido 2 hours ago
    I've been running stalw.art in a Docker container for past couple of years and it has been a low-fuss affair, but I'm the only account.
  • zh3 3 hours ago
    Linode and hand the keys to Claude (in an appropriately limited way). It sets up dkim, dmarc, spf etc and will guide you through processing dmarc reports. Interestingly it's better than the previous (hand tuned over 15 years) setup in that even hotmail manages to receive email now.
  • orsanawwad 1 hour ago
    I'm running https://stalw.art/ hooked into my SSO hosted on my k8s cluster

    Some emails end up in spam some don't, quite frankly I just need it for system alerts for my self hosted services

  • aabdelhafez 4 hours ago
    nixos-mailserver[0] + ZohoMail as an outbound relay.

    Works like a charm!

    [0]: https://gitlab.com/simple-nixos-mailserver/nixos-mailserver

  • hoppp 3 hours ago
    Hetzner is not cheap anymore. They tripled their pricing.
  • walrus01 4 hours ago
    postfix, dovecot, rspamd on debian stable, with lots of custom configuration. The main problem is not really the server side or getting it set up right, if you know what you're doing, but outbound delivery if you're sending SMTP traffic from any kind of bulk hosting/VPS/VM/colo provider. No matter how impeccable your spf, dkim, dmarc is.
    • icedchai 54 minutes ago
      I run the same, except on FreeBSD. I have my own ASN and an IPv4 /24 block with a good reputation dating back the 90's. Basically, it looks like a corporate network, not some random VPS, even though it's run out of a basement colo in the middle of suburbia.
  • chatziko 3 hours ago
    [dead]