131
submitted 5 months ago by makeasnek@lemmy.ml to c/opensource@lemmy.ml

Interesting history and analysis of SMTP's history. How can we prevent fedi and other open protocols from suffering the same fates?

you are viewing a single comment's thread
view the rest of the comments
[-] observantTrapezium@lemmy.ca 96 points 5 months ago

You can't successfully use a home email server.

Mostly true (server can be home but using the ISP network directly probably won't work)

You can't successfully use an email server on a (cloud) VPS.

Bullshit

You can't successfully use an email server on a bare metal machine in your own datacenter.

Bullshit

As such, it is my distinct displeasure to declare the death of SMTP. The protocol is no longer usable. And as we can see, this devolution occurred organically.

Bullshit

[-] ramble81@lemm.ee 39 points 5 months ago

You can’t successfully use an email server on a bare metal machine in your own Datacenter

Calling complete BS on that. I work in a medium size company and we do just that. Don’t know what he’s thinking.

[-] ikidd@lemmy.world 12 points 5 months ago

I'm going to add "bullshit" to the first. I've gone 2 decades running a few email domains on my home servers, on 3 different ISPs. Its not rocket surgery.

[-] coronach@lemmy.sdf.org 5 points 5 months ago* (last edited 5 months ago)

All the ISPs I've used block the relevant ports.

[-] i_am_hiding@aussie.zone 3 points 5 months ago

I've been running one with a dozen or more users on bare metal at home for the last two years. A little bit of spam but otherwise fine. No deliverability issues or anything.

[-] xyguy@startrek.website 12 points 5 months ago

Can, yes.

Should, maybe.

Enjoy doing, unlikely.

And for sure your home isp has all the email ports blocked upstream.

With all that being said, to call SMTP dead is wildly insane. I do figure it will die someday though. Probably around the same time of universal IPV6 adoption during the year of the linux desktop.

[-] denshirenji@lemmy.world 3 points 5 months ago

My ISP doesn't. It an electric company that offers fiber, so not your typical telecommunications company. Still though, not a single blocked port.

On topic, I tried an email server and it is too much of a pain in the ass IMHO, without the requisite training and experience, but certainly not impossible.

[-] dgriffith@aussie.zone 3 points 5 months ago

My most recent ISP does CGNAT. They don't hide it, it's mentioned in their support pages. A quick email is all it takes to switch you over to an open address though.

Anyway I've got a $5/mo server with akami that looks after my email and it's associated domain.

It took about three hours of following a guide to set up DMARC and etc etc and it works unobtrusively, and is about ten times faster than my old ISP IMAP account that I had for about twenty years.

[-] denshirenji@lemmy.world 3 points 5 months ago

Do you have a link to the guide by any chance? I might try it again using one of my throw away domains as a test.

[-] dgriffith@aussie.zone 2 points 5 months ago

It was one of LinuxBabe's guides - this one:

https://www.linuxbabe.com/mail-server/setup-basic-postfix-mail-sever-ubuntu

There is a more recent one that uses a shell script to install all the bits and pieces but I prefer to do it myself so I've got at least some idea of how all the pieces work.

[-] denshirenji@lemmy.world 1 points 5 months ago

This is very helpful. Thank you!

[-] smiletolerantly@awful.systems 3 points 5 months ago

Yeah. I've had zero problems hosting my mail on a bare metalachine in a datacenter. They arrive just like they should, plus it's just so freeing to host it yourself.

[-] makeasnek@lemmy.ml 1 points 5 months ago* (last edited 5 months ago)

Sure, you can run one, good luck getting even a halfway decent delivery rate to mailboxes at any major mail provider. Even if they never receive a spam message from your server, your server is an "unknown" which counts against you. And if one person in your small company of 10 or 100 or even 1000 people gets their e-mail hacked and sends spam? Prepare for the rest of them to get punished for it. Running an SMTP server is a nightmare which is why, over time, more and more of the economy has just shifted their SMTP servers to organizations who professionally run SMTP servers instead of having their own.

[-] the_crotch@sh.itjust.works 33 points 5 months ago

Set up dkim/SPF properly, make sure the ip you plan to use is clean before you start, sign up for MXtoolbox blacklist alerts and if you get on a blacklist (doesn't happen often if you do a bare minimum of proactive security), you request removal. It's really not hard.

[-] bahuma20@feddit.org 26 points 5 months ago

I am running my own mailsever for over 10 years without any blacklisting problems...

[-] Corgana@startrek.website 12 points 5 months ago* (last edited 5 months ago)

Right, but try doing that with a 10 day old server created in 2024. That's the hurdle people are referring to.

[-] Samsy@lemmy.ml 14 points 5 months ago

This works, too. It's actually common that your dmarc-entry needs some time to be accepted everywhere. Wait a few days more and your mails don't hit the spam folder on google and outlook.

[-] ShortN0te@lemmy.ml 11 points 5 months ago

Just did that a few months ago. No issues yet.

[-] Cube6392@beehaw.org 1 points 5 months ago

I've run into one issue in my time on a weird self hosted platform. The DMV said "oh. Let me call IT and get that unblocked" and then they did and it was done. All other times have been fine

[-] majestictechie@lemmy.fosshost.com 20 points 5 months ago

I work as a Sysadmin for a web host who sells VPS's. I've helped many people setup domains on their server to cover SPF, DKIM and DMARC passes on a daily basis. Most use these for personal or business level mail delivery without issue.

Are there hurdles to overcome? Sure. But it's not exactly hard as long as you have a IP that's isnt a poor reputation (which as an ISP we help delist and improve). But it's not impossible.

Its more "convenient" to use a third party mail provider just as Office365 since you pass on all that setup and responsibility onto their framework, but it's not hard to setup a decent level of mail service yourself.

[-] ErwinLottemann@feddit.de 9 points 5 months ago

have mine running for nearly 20 years now and never had any major issues with delivery 🤷

[-] Supermariofan67@programming.dev 7 points 5 months ago

I've never had any issues getting mail delivered to major providers

[-] Auzy@beehaw.org 5 points 5 months ago

That's not why people move to big hosters.

They move because you don't need to waste money managing them, and they have reliable backup

We used to host our own, but big providers are so cheap and have such a good interface that it doesn't make sense to host our own.

It's the same reason why most companies don't host their own web servers.

Even large corporations use AWS or similar.

[-] digdilem@lemmy.ml 1 points 5 months ago

You're spot on, and even smaller ISPs routinely get blocked by larger hosters (anyone who doubts this, please look around for the many stories along the lines of "gmail silently drops my email")

Residential IP blocks are scored much higher and given a negative trust from the start - not surprising since that's where much of the world's spam comes from through compromised computers, routers etc.

this post was submitted on 13 Jul 2024
131 points (75.5% liked)

Open Source

31746 readers
165 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS