this post was submitted on 12 Nov 2026
108 points (96.6% liked)

Selfhosted

63779 readers
349 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

This Microsoft outage being the last drop in the bucket, I'm looking to get my email/calendar/contacts somewhere under my control.

As I already self-host a number of things (e.g. my Linux ISO collection), and have services exposed to the internet, it would make sense to run it at home.

After all, it's not heavy lifting. It's not hosting 500+ mailboxes for 100+ people. It's just little old me, with a handful of domains, catch-all receiving and a few dedicated sending addresses.

However email is a bit more mission critical than my smarthome control or self hosted LLMs. Downtime could be critically bad, and I still don't trust my home setup to be truly 99.999999% available.

I don't mind paying for a service but if I do I'd prefer something European, given I'm based in the UK (and otherwise am an EU citizen).

I'm really curious how y'all solve it. I guess I'm interested in some kind of hybrid solution where there's my own server and a hosted service, latter which acts as a backup solution, but still fully synced, so if my internet or power goes out (or my server goes down), I can still get mail sent and delivered.

So I'm not only just interested in the stack you run for email but the entire infrastructure, especially if you've solved this sort of off-site fallback service.

you are viewing a single comment's thread
view the rest of the comments
[–] dihutenosa@piefed.social 5 points 13 hours ago (1 children)

I self-host it with https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.

  • I had to set it up with all these SPF and DKIM and DMARC stuff. Wasn't too hard, just follow the guide. Test with GMail - the message details view says exactly what you have, what you haven't, and what's wrong.
  • Every now and then I have to jump through some hoops to get my IP allowlisted in some weird provider or antispam system.

Email is a very old protocol, it originates from the time when computers were connected only occasionally. It is very much possible to come an agreement to power up the antennas at something o'clock every day to exchange emails, and the rest of the time they just sit in the queue.

Practically speaking, if your home lab is down for something like 12h, it should not impact email delivery much at all - the sending servers would just keep retrying. Usually for 48h. From https://www.rfc-editor.org/rfc/rfc5321#section-4.5.4.1

mail that cannot be transmitted immediately MUST be queued and periodically retried by the sender.

The sender MUST delay retrying a particular destination after one attempt has failed.

Retries continue until the message is transmitted or the sender gives up; the give-up time generally needs to be at least 4-5 days.

Microsoft documents this: https://learn.microsoft.com/en-us/defender-office-365/mail-flow-about#mail-flow-delivery-faq

Deferred messages remain in our queues for one day.

I guess technically they're RFC-compliant, but 1 day is not as much as I'd like...

[–] northertech@fedia.io 1 points 10 hours ago (1 children)

Were you actually able to get good domain reputation with your sever on a residential ip?

[–] dihutenosa@piefed.social 3 points 10 hours ago

No idea. I keep hearing the term, "IP reputation", but I don't know any official registry where I could look up mine.

  • I can deliver to GMail, because I set up SPF, DKIM, DMARC, and that special GMail-only TXT record in DNS: "google-site-verification=<base64-or-what>"
  • I can deliver to Outlook, because I registered by IP in https://check.spamhaus.org/
  • Every now and then, I encounter a new, weird and wonderful kind of spam protection, and I have to figure out how to get my IP listed in the "known legit email servers"

All told, I can deliver email, AFAICT. If it lands in spam, well, tough luck - email from large providers also does.