this post was submitted on 18 Feb 2025
113 points (100.0% liked)

Selfhosted

42695 readers
664 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] AmbiguousProps@lemmy.today 51 points 3 days ago* (last edited 3 days ago) (8 children)

It should be noted that email servers, no matter the setup, require you to follow strict standards to achieve proper delivery. It's very easy to get blacklisted, and it's next to impossible to get off of said blacklist once you're on it.

I used to host my own mail server with this, but it got to be too much to get my emails to actually send. I was always wondering if my email was actually delivered or if it was silently bounced or sent to spam. Email is the only thing I'm not willing to self host.

[–] madame_gaymes@programming.dev 12 points 3 days ago (4 children)

Yea, if you are not willing to be meticulous about learning/understanding all the DNS stuff (SPF/DKIM/DMARC), and plan to host this at home, don't.

I ran this same system for a very long time on a VPS and had no problems with blacklists, but I'm also a career systems engineer that maintained enterprise systems and exchange servers.

Also note how I am speaking of MIAB in the past tense...

I think the better option is to try and avoid email as much as you can, just like SMS. Outdated tech and not secure. At that point, any ol' existing email service is good enough.

[–] null_dot@lemmy.dbzer0.com 2 points 1 day ago (1 children)

I don't think the SPF / DKIM / DMARC stuff is overly complex nor the core of the problem.

In my case it was recipients with bonkers microsoft exchange servers that just had weird ideas about who should be sending them emails.

For example, one thing that tripped me up forever ago was grey listing. Apparently the receiving server just wouldn't acknowledge the sending server for an arbitrary period of time, say 12 hours or so. Spam senders would usually give up long before then, while a legit server would keep trying because it's legitimately trying to deliver an actual email.

So my email-in-a-box type self hosted set up was fine really. Compliant you might say. But to send emails to this one in a thousand recipient I had to investigate what was going on and reconfigure things to ensure their server would interact with mine.

Another thing that can happen is that spammers just put your email address in the "from" field and fire off a few million emails. Obviously the DKIM signatures and SPF won't match but it still just makes your future legitimate emails look spammy. Having the credibility of a larger organisation goes a long way in this type of instance.

[–] madame_gaymes@programming.dev 1 points 17 hours ago (1 children)

I don't think the SPF / DKIM / DMARC stuff is overly complex nor the core of the problem.

It's not the core of the issue, but the average joe that is a hobbyist self-hoster it will be.

IMO, the core issue is that there is no standard whatsoever. People just do whatever the hell they want with these records, pretty much. Microsoft and Google do it differently than each other, even.

The only solution for me is that we move on from email as a society.

[–] null_dot@lemmy.dbzer0.com 2 points 11 hours ago (1 children)

Yeah.

Sadly I think email will be with us for the foreseeable future. It's broken, sure... but it's just so fundamental to the web.

An alternative would need to be ubiquitous, and that seems unachievable.

[–] madame_gaymes@programming.dev 1 points 11 hours ago

Indeed, you are not wrong. Such is the state of many, many things.

I admit it's easy enough to say, "let's get rid of it", but without a solution it's meaningless to say and is just an ideology.

load more comments (2 replies)
load more comments (5 replies)