News for hackers. Stuff that matters.
Re:Self-Hosting Email Like It's 1984 by abdullahkhalids on Saturday October 04, 2025 @02:00PM (#45475268)
Here is my advice to anyone wanting to test out self-hosting email. Start by using your self-hosted email to sign-up for accounts. You don't have to use the email address for your personal correspondence

Use Mail-in-a-box to get started [1]. You can literally set it up in a couple of hours by following the instructions and everything should just work.

After a few years, you can think about switching your personal correspondence to your new email.

[1] https://mailinabox.email./

Re:Self-Hosting Email Like It's 1984 by watermelon0 on Saturday October 04, 2025 @03:12PM (#45475846)
I can recommend Stalwart [1] which is a complete mail service contained in a single binary, that doesn't really have any external dependencies, and is really easy to install and update.

I've looked (and tried) a few other projects in the past, but Stalwart was the easiest to setup, and I haven't had any issues with it so far.

[1] https://github.com/stalwartlabs/stalwart

Re:Self-Hosting Email Like It's 1984 by mfsch on Saturday October 04, 2025 @03:22PM (#45475909)
It’s also what Thunderbird is using to build their paid email hosting. Seems like a very ambitious project mostly done by a single person – impressive!
Re:Self-Hosting Email Like It's 1984 by sureglymop on Saturday October 04, 2025 @05:30PM (#45476892)
Wow! I was just about to comment how email is the one thing where I wish something that didn't follow the unix philosophy existed. Exactly due to this, it is easy to set up a mail server but it is hard to think of all the things around it: spam, fishing, dmarc, dkim, spf, etc.

This looks really nice, especially also for saas projects.

Re:Self-Hosting Email Like It's 1984 by stavros on Saturday October 04, 2025 @06:27PM (#45477298)
I'm not looking to self-host my email, but this looks fantastic. It's making me reconsider the decision, hm. Thank you for this.
Re:Self-Hosting Email Like It's 1984 by golem14 on Saturday October 04, 2025 @11:26PM (#45478631)
Has anyone compared Stalwart with say Mox or Maddy, in practice?

They all look about the same from a newb's perspective.

Re:Self-Hosting Email Like It's 1984 by bonzog on Saturday October 04, 2025 @02:21PM (#45475439)
I've been running MIAB for a few years now with generally good success as an outgoing sender using a rented cloud machine and a "clean" reputation IP. I've had to email the Microsoft postmaster on one occasion when my emails weren't reaching Outlook users, but they were surprisingly helpful and it's been working fine for years now. It's a good learning exercise in setting up stuff like DKIM/SPF/DMARC.

That said - receiving account sign-up emails is the absolute biggest pain in the backside with Mailinabox! The greylisting anti-spam feature relies on bouncing unknown senders and waiting for a retry. The trouble is, many legit sites just don't bother retrying. So email verification for new accounts and 2FA-type stuff often takes ages to come through, if at all. MIAB stubbornly has no easy, mail user-facing way to temporarily disable spam filtering and it's a real PITA at times.

Re:Self-Hosting Email Like It's 1984 by abdullahkhalids on Saturday October 04, 2025 @02:36PM (#45475549)
Oh! That's what it is. I just thought some websites just took longer to send an email to my unknown domain.

I see that the only way to disable greylisting is to configure the underlying tool [1]. But it also means that SPAM will increase a lot.

[1] https://discourse.mailinabox.email/t/how-to-turn-off-edit-gr...

Re:Self-Hosting Email Like It's 1984 by behringer on Saturday October 04, 2025 @03:09PM (#45475815)
It's better to whitelist the domains you'll be getting mfa from.