from altphoto@lemmy.today to selfhosted@lemmy.world on 08 Jun 02:21
https://lemmy.today/post/54399461
I give up.
I tried left and right to try to install an email server so I could degoogle my life.
But therechnical barrier is thick and Google keeps adding more to it. Forget it. I can’t even get thru the installation process much less trying to get my shit off Google.
I figure, I don’t actually have any need for my email addresses. Just like my phone number. I never call anyone. I’m going to discourage my kids from using email at all. I’ll remind everyone I know that I don’t use email at every opportunity I get just like I remind people to not call me and that my phone number is not available.
Between spammers and Google, I just don’t need this headache in my life. My mom is much less technically savvy than the average pet. So Google will just siphon her data and when the megabits are full then you just delete the old stuff.
You don’t need it. No one will spend their life reading your emails when you’re gone or watching your videos or listening to your recordings or viewing your photos. There’s no need to worry about just deleting the pile of shit you’ve accumulated. I’m this done.
#selfhosted
threaded - newest
I moved to https://mxroute.com/ and payed $15 for three years of hosting because they had some promotion.
But about the videos and photos I think you’re a bit wrong, I still rewatch my dads home videos from the 90’s
i have a neighbor that keeps her old answering machine because her late-husband’s voice is on it. she has no home videos or anything else.. just a few snapshots and that answering machine.
i get it. i ran my own server for 15 years... and i stopped ~ 8 years ago. it was just too annoying between the spam filtering and -todays-new-security-enhancement-
email is the one service im happy to pay someone to do.. from a bunker in switzerland. google not required.
...but you cant not use email and function in the technological world of today. email isnt about communication any longer. its about security and authentication.
Yeah, I’m going to keep using it for that. Just not any personal communication. It’s just bullshit in, and bullshit out. Ran out of space? Just delete bullshit. School needs an email? Okay here’s another junk email send your bullshit into it, I don’t care. Like that. There is nothing in the storage that I need if I don’t put anything into it.
That is plain not true…
I run my email server since decades and the only upgrade I had to to over time was adding dkim dmarc and proper DNS records. Took a few hours of studying, but perfectly doable
Granted, running docker containers is much easier than setting up a proper email setup. But be this is because with the latter you must understand what you are doing…
I dunno, mailcow dockerized seems to work ok for me. That being said, e-mail is so 20th century.
Fair enough - I got it working recently but it was the hardest self-hosting install I’ve done. No way most people would succeed. Email is 50(?) years of questionable design decisions piled on top of each other so it’s become a whole world of weird stuff. Doing email should be it’s own tech specialty, like ‘devops’ or ‘db admin’ is. There’s enough depth to it.
There are a ton of email providers who are not Google, though. e.g. https://proton.me/mail. You don’t need to run it on your own hardware.
It literally is, and has been for quite a while :D Enterprise level email admins make a pretty penny eheheh.
I remember working on sendmail back in the day. I had skills then, but mastering sendmail would elevate you to be the guru on the mountain. I struggled to the foothills and managed enough to maintain it, only scratching the surface. There was and is a lot there. The O’reilly sendmail book was the thickest of my collection and I might even still have it.
That book was likely a huge boost to my career. My first tech job was for a very small shop and the owner insisted that everything run Solaris. Which meant sendmail all day long.
That book got me through some rough times. Fucking sendmail milters … in 2000.
I share your pain!
Never self host email. It’s way too much of a pain.
It’s not too bad if you use an outbound SMTP relay for sending. SMTP2Go is pretty good, and they have a free plan with 1000 emails per month. I use Mailcow and you can configure relays in their web UI, but it works just as well with the
sender_dependent_relayhost_mapssetting in Postfix.Sure, it’s not fully self-hosted, but the interesting part to self-host is the storage of your emails, not the sending (which will just relay through other SMTP servers along the way anyways).
Why people keep spreading this misinformation? It’s plainly not true and I am the living proof of that.
Been using my email self hosted (on VPs) for decades now, never had serious issues at all. And it’s all my family primary addresses
I think the general gist is as beginner self hosters we get more and more comfortable too “easily spin up a docker webserver”
At some point we arrive at “what other services can i host” and email is a pretty obvious addition expecting it to at least not be more difficult then running nextcloud.
It may be doable but hell is it not a comparable challenge.
I fully agree …
Email server require to understand what and why you are doing. This is a steep step up from spinning docker containers.
Nothing against docker containers, I run quite a few myself… But indeed a successful email server is a different beast.
Many people also try self host it at home, and this is a serious issue with email due to the residential ip address as well.
But it can be done successfully and it’s a great feeling of accomplishment when you do it. And you learn way more than using containers
Also all containerized solutions for email require the understanding and additional steps like DNS done properly as well .
I worked for years on a large email infrastructure for a job and for me it’s absolutely not worth it either.
I would prefer to take a subscription on a reputable host.
Why?
Because even if I do everything perfectly at setup (TLS, SPF, DKIM, DMARC) that will still be precarious.
The security of SMTP is a patchwork of protocols added on top of it and a bunch of opaque reputation systems. If anything ever goes wrong with my email my domain’s reputation would fall. And that’s the thing, once your domain reputation goes too low, you can’t fix right away and say “my bad” and recover. Your mail will be silently blocked like Spam until a few days of sending perfectly clean emails. You need time to recover.
So mail self hosting is accepting that at any time if you make a slight mistake, your communications to other will be almost impossible for days. And again since a lot of it is reputation based you can’t fix the issue and recover immediately.
The business I was working for had everyday scenarios like that. A client that failed to update its DKIM and didn’t notice right away. When they do their reputation on for example Cisco’s platform is super low and we filter them as spam. And then it took days for them to recover even if they fixed the DKIM just one or two days after their mistake.
On the other hand I could take a protonmail subscription and use a domain that has so much volume and is tracked so carefully in term of reputation that I know my mails will be received and have all the necessary security done right.
These reputation systems are inherently difficult for small volume mail domains. There is no other users ln your domain so one mistake is all it takes to start having delivery issues and most importantly silent failed deliveries that you dont know about.
Is it possible? Yes. Is it necessary? Not really. If you can pay for a privacy respecting host…
Hence for me it’s not worth it because there are privacy respecting providers so it’s not like I absolutely have to self host it.
Just because you can do it doesn’t mean it is feasible
It comes with a lot of downsides
Isn’t that the gist of selfhosting?
Yes you can do it, yes you can have it done for you by somebody else. The first is fun, and risky, the second is less fun and less risky. We are all here for the fun… and probably we all don’t care too much of the risks. But why shut down everybody who ask about email selfhosting with a don’t do it? Let them try, make errors and fix them, maybe they learn something new, maybe it works out for them
What is the worst that might come out of it? Some spam? A blacklist? Come on, you can survive both. Don’t use your primary email account as self hosted from the beginning maybe, to mitigate all those risks, no?
I don’t say it’s impossible. It’s just not worth it 90% of the people, especially for beginners.
Never said it’s for beginners. It’s not.
You must understand what you do and do it properly. IT’s not drop a container and run mindless. Regardless, you can do it if you take the proper precautions and have fun doing it.
Because it works for you, doesn’t mean it’s easy. If you have the experience, and done it at least once successfully, it’s “easy”. Compared to the average self-hosted configure and run a docker image and reverse proxy it’s objectively harder to run.
The issue is not running the individual components or servers, but that there’s infrastructure and to some extent crypto involved, which is just outside of the comfort zone for many. You tried to host it like any other thing on your homelab? Nope. Has your VPS been involved in spam? Enjoy the blacklist you’ll never find out about and the debugging why it doesn’t work. No experience in managing your DNS? Have fun getting DMARC/DKIM/SPF to work.
Theres just way more stuff that needs to be done, and a lot of it will fail silently.
I fully agree with you: it’s NOT easy. And you must understand what you do. It’s not just deploy a container and run happy.
I might say this is the first serious step for a selfhoster, something that goes over and beyond just hosting a service for yourself and fun, since it federates (modern term fur how email works) with the outside world.
Are you scared of hosting email? don’t do it. You want to learn and improve your skills and you are happy with running the risks associated? go for it.
Anyway tools like stalwart and mailcow do provide full instructions for DKIM/DMARK and DNS records that you only need to follow, so today there are easier options than the “old days”.
Anyway you don’t have to do it on your primary email from day one, just use a test account/domain and see how it goes. Keep using your gmail account and spin it up on a secondary domain, if it works good… switch over in 6 months or 2 years as you are confortable. OTherwise, keep gmail and stop.
This is literally what you’ve called misinformation.
Again, not everyone is self-hosting only for learning and experimentation only. Making a deliberate call that mailing infra might be too hard might be too hard, have too big of a knowledge gap, or is simply not worth the effort is something I’d call more serious than hardlining on “self host everything or stay on gmail”, especially in the case of mailing, where it’s pretty much impossible to self-host on your own hardware / network.
Full instructions do not reduce any effort or resources involved or complexity of the problem. And the problem is that you’re suddenly moving from “I’m hosting a few services” to being balls deep in networking, dns, and a deceivingly easy protocol which blows up in complexity due to being federated and absolutely dominated by big providers at the same time, and all of the extensions for security.
Except for learning, self-hosting serves a purpose. You might want privacy, you might not want to be dependent on corpo infra or external services at all, you might want to host something that offers something more or better than a SaaS solution - but first of all, it needs to work. For mail, you gain none of those. Self-hosting on your own hardware (or rather network) is pretty much impossible, so you’re reliant on a hosting provider at least. There is basically zero difference in functionality between mailing servers or providers. Sure, you’ll run into problems when copy pasting instructions, but those problems will break the service. Fucking up your DNS or networking will break your whole server. At the same time, while failing silently it will costs a magnitude of effort more than most other usually self-hosted services.
One wrong config entry, and you have an open relay and a domain that can never be used for SMTP again, yay.
Actually managing an email server properly is demanding, as it is one of the most attacked services. Of course, you can also take the easy route and just pray.
Sorry man, i understand your fears, but it’s not that difficult. Granted, you need to STUDY and UNDERSTAND what you do, it’s not just deploy a container and run. But hey, you can give up on learning new stuff and don’t run risks ever, in that case you should also stop driving a car, since it’s much more dangerous than running an open relay by error.
Also, use mailcow stalwart or any other already packaged solution if you want to be safe.
I used mailcow, got an open relay immediately. Stalwart seems to do things a bit better.
I host so many services and it is not that I don’t want to learn new stuff. The effort is simply too high for a single service. And since there are very good providers which fully encrypt your data, I went this route to keep my mind off this part of my system.
I fully understand your point, but the mailcow as open relay seems strange. Anyway, it’s a risk/cost tradeoff right? Everybody should do it’s own assessment and experimentation. But after the initial setup, it’s zero maintenance. The only maintenance i do is keep the stack regularly updated, and it broke twice in 20+ years (dovecot new config format, WTF…)
I had long discussions with some mailcow contributors and it turns out, that some default settings can lead to an open relay if you are not careful. The biggest problem is that they use postfix. Postfix is not bad itself, as it is probably the most battle tested mail server. The configuration of postfix is a different story. And even if I prefer battle tested GNU/BSD software, postfix would be one of the rare exceptions where I would be careful.
I had a postfix running for years without issues, when I self-hosted SimpleLogin, and I fully agree with you. Once it runs, you only need to make sure that the security is managed.
If it was painful for you, this does not mean nobody should even try. FMPOV my mailbox contains too much personal information to host in in the cloud.
I host my own stalwart server on a 2€ VPS. Since 3 years. It was never easier.
I want to try stalwart on a vps. But I fail to make it work from my pc.
Email must run on a server with a public non residential ip address. Email is something you definitely can self host just not on your home server. Maybe that was the issue from the start?
Stalwart is nice, but definitely not lightweight in my experience… Mailcow is a fully docker based solution.
Stalwart is a single all-in-one docker solution.
This really saddens me. Email is such a fundamentally good and open protocol. The only reason people don’t like it is because of big tech’s shenanigans.
I run an email service called Port87. I invite you to try it and see if it can convince you that email is actually a great technology, when detached from big tech slop. It’s got some really killer features that make it great for organization and preventing spam. You can also tell it that on certain addresses, it should completely ignore the strict auth requirements it usually has, so it will accept email from your own services without you having to set up all the extra bullshit that’s meant for stuff that matters more.
I was told about this one but never actually tried it. I am more hellbent on setting up my own server so I never have to migrate from anywhere.
If you have your own domain, you won’t ever have to migrate addresses, just possibly providers.
I do have one yeah. I’ll have to take a look.
It’s not really worth the trouble to try to host your own e-mail. There are lots of e-mail hosts that you can use with your own domain. A few of them are free and there are plenty of low cost ones. As long as you use your own domain, you can switch hosts whenever you want and keep your addresses.
Proton or Tuta mail. Supports aliasing so you can make unique email addresses per website, and trash them if you get spammed.
Singing up for a paid account you also get VPN, drive storage, password manager, docs, sheets, AI chat (I know), calendar, meetings and authenticator.
I’m sorry to great it’s been so frustrating for you. I know we all have our own tolerances for random junk and I’m glad you’re making the right decision for you at this time.
I’ve been running mailinabox for almost two years now and it has been very good for me. Especially once I send some email to my family members’ Gmail address and had them Mark it as “not spam” my deliverability has become very good.
I also use mxroute. I paid for ten years at once. I only needed it because I wanted a catch-all and my previous hosting provider stopped allowing that.
My email solution for decades has been to have a mailbox separate from my email domain. Currently it’s FastMail. I then give out a different
entity@example.comto each entity that needs my email address. I can then shut off (route to null) any address that starts getting spam.I did order Run Your Own Mail Server because one day I’d like to try.
From the Kickstarter:
Posteo is a good provider for 1usd per month.
Yeah, hosting your own email server is pretty tough.
I think something like https://migadu.com/ might be more in the middle of hosting your own server and purely using someone else’s frontend.
I gave their self-hosted version a go and got stuck with the gmail connection. For Auth2.0 they’ve built some new bullshit. I think I gotta create an app to pretend I’m a dev, then use that app and password to allow it on my security settings… Google is such a bunch of shit assholes. Fuck Google! With a splintered rusty corrugate hose. Assholes. Who is gonna do that? Nobody. It’s just a tiny bit more than whatever technical knowledge I’m willing to spend cells on. Nah, I’m done.
I just switched to migadu and found it painless and easy, I also run an email server with mail-in-a-box, which is great.
Just get a domain and point it at a provider. Now you’re not locked in and can switch at will upon enshittification. Get one of the offline mail archive services like OpenArchiver. Job done.
If you want to give it another try, I’ve used Mailcow for about a decade now, after running on Exchange for twenty before that. Mailcow is way easier to set up and maintain than Exchange.
Key to it all is making sure you have your DKIM, dmarc and SPF records set up correctly, as well as a PTR with your internet provider if you can manage it, though that seems optional.
Never had a problem with the big providers bouncing my mails, just a couple little outfits that couldn’t figure their filters out correctly.
That’s the first thing I tried. I could receive emails but not send. Maybe I’ll give that thing one more go.
If you have trouble with outgoing mails, you can use a hybrid approach.
Receive mails directly to your server but use a mail service to relay your outgoing mails. Configuration for that is very simple in mailcow and there are a few dozen (free) transactional email providers (e.g. Scaleway).
That way you can keep receiving your mails privately and only have to give up some privacy when sending mails.
If you’re new to it all, this is probably the safest approach. Getting mail isn’t hard, sending it is where the potential gotchas will getcha.
What is the problem? I have been self hosting my mail for the last 20+ years and has always worked pretty well.
I rent a VPS for that since you should not use a residential address for email servers.
If you are careful enough to configure it properly I assure you that it works and it’s perfectly usable and stable
All my family primary email addresses are managed in that way on my various domains and we never had a single issue
Today it’s even easier because there are all in one docker based solutions. But going the hard way is perfectly doable as well.
Here is my experience, on my wiki, if you are interested wiki.gardiol.org/doku.php?id=email%3Astart
Be aware that there are no optional steps: everything must be properly installed and setup from DNS entries to dkim/dmarc and certificates. But I promise, maintenance it basically zero after a proper setup. And I think twice in 20 years something broke. And the nice part of that email will just be delayed and delivered after you fix it, nothing gets ever lost
I love email, with all it downfalls, it’s still one of the most resilient and solid stuff on the internet.
Yeah ok maybe I just need to pay for a VPS.
That is a mandatory requirement for proper email delivery.
Not an issue with email itself, more due to spam prevention and such.
I flagree that hosting email servers on residential IPs is a recipe for being filtered and blocked
Unless your ISP gives you a static address and agrees to change PTR record to your server address. Then it’s no different than any other server on the internet. Obviously odds are that you’re not getting one or if it’s an option they’ll likely charge more than VPS is going to cost you, but it’s not unheard of.
But for the actual topic, I don’t get the myth either. I’ve got a good old postfix+dovecot setup running and the only problem I have is that spam filtering isn’t quite as good as with commercial providers, but the handful of trash coming trough is easy enough to take care of manually.
I fully agree with you.
but i guess, from other replyies, people are just afraid somehow and have deep rooted fears about email and self hosting it. The people like you and me who have actually done it, understand that’s not that impossible.
And like with anything you learn only doing it, not fearing it. Maybe don’t switch your main account just from day 0 and see how it goes… :)
Obviously there’s a ton in successful email hosting since it’s not just configuring few services. Proper DNS-records and privilege controls are mandatory, you need to occasionally clear up your domain/IP from spamlists (specially at the start) and single mistake can ruin your DNS reputation quite quickly which then takes time to build back.
But it’s still perfectly doable and, when you have proper knowledge on how the whole circus actually runs, not too difficult either. Only problem is that there’s no longer money on just email hosting since cloud hosting offers much more than just emails for the price a small gamer can’t just compete with. At least around here.
There was a good guide by Linuxbabe on building an email server from scratch with all the bits and pieces and antispam/email verification stuff you need to send mail to the big players, I used it a few years ago to do my server.
Here’s the collection of various guides for various ways to do it:
www.linuxbabe.com/category/mail-server
Yeah you also need a vps. Home addresses are pretty much all marked as spam generators these days, and most ISPs proactively block all the common inbound ports for mail servers.
Same here, I have been doing that for around 20 years now too and I started out with postfix and a list of vmails in a text file.
I wonder where this myth comes from. People host way more out there stuff themselves, but somehow email is too scary …
When you begin hosting you have to wait a bit before your email doesn’t go to spam, at least that was my experience in 2018.
Edit: I just checked and I can now deliver to Hotmail/MS365 too!
Because 99% of helfhosters pull containers, with zero understanding of what they do. They they try email, because heck why not also email, and hit the wall of actually must understand what you are doing or else…
Yes probably selfhosting email is for advanced users, people who at least know how to manage a DNS record and how nwtworking works. Maybe it’s just that selfhosting bar has dropped significantly thanks to docker, and indeed email hosting is a bit more complex that just “docker compose pull” approach.
Yet i think people should not be scaring others so easily on email self hosting, it’s perfectly doable and fun to do. Maybe don’t switch your primary account just imediately to mitigate risks…
I run it on residential, and since routing outgoing mail through smtp2go I don’t even get issues with my ISP putting my IP on the PBL. Once my contract is over I’m getting a static IP with a better supplier. Been solid for over two years
Bonus of running my own inbox, I learned how to discard annoying emails that can’t be unsubscribed from
Well, it was close to zero for me until the last year dovecot update (2.3→2.4) that has broken old configs. I’ve spent a lot of time fixing them.
Yes … That is what pissed me…
But half day of cussing and swearing helped
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
[Thread #4 for this comm, first seen 8th Jun 2026, 05:50] [FAQ] [Full list] [Contact] [Source code]
I used to run my own mailserver, but I haven’t in years now since it was so much of a pain. Not even the set-up part; that wasn’t the worst thing in the world. It’s uptime, back-ups, and other considerations that just require time and money I don’t have.
You don’t need your own email server to degoogle your life.
Yes selfhosting it is awesome but it’s definitely not the simplest service to do host.
Just use mailbox.org or posteo.de . Using one of those providers is so much better than a Google mail address but so easier than hosting your own mail server.
Yep honestly paying for posteo (fully foss back-end) is worth it. Self-hosting email is on the hardest side, not impossible but require more time and knowledge than many other services.
hub.docker.com/r/mailserver/docker-mailserver/
It just works. Once you got it working.
I’d try Maddy if I were going to setup my personal email server now. But I already have postfix/dovecot/all-that-shit up and running for years.
Similarly I gave up trying to keep up with the ever evolving mail server requirements. I’d wake up to find my emails weren’t reaching people because Google and MS had strongarmed some change into place again.
These days I just use inbox.eu for my email.
I rage guit my email server long ago. True, as evidenced in this thread, there are some who successfully run their own email server and that’s awesome. I am quite jealous. I too gave up, but I went with a small EU based company. It’s no frills, just the basics. I don’t send/receive a lot of email, so I don’t need all the bells and whistles. If you’re de-googling your life, you don’t have to specifically run your own email service. I do hear a lot of positives about MailCow tho.
What is a good, paid email service that is
?
ProtonMail, maybe Tuta Mail.
I’ve heard bad things about both. Proton implies a lot of lock in and you almost can’t use it with custom clients (thunderbird, aerc)
Tuta’s support is pretty much nonexistent.
There is a local relay that allows to basically use ProtonMail with whatever client you want to. It’s a bit more work, for sure, but it allows to use their encryption without having to install any addon on your client.
Proton encrypts your emails. Clients like Thunderbird aren’t capable of handling that (yet).
if sending cash by mail is also an acceptable anonymous payment option, mailbox.org maybe something for you
Thanks. No I can’t send them cash
+1 for mailbox. Even though I pay with credit card. They’re outside the country so worst case, the US knows I use them. That’s fine.
What advantage are you trying to get with crypto?
Being able to pay easily. I’m in a region with no access to visa,master and other international payment methods.
The only simple way for me to buy products from otger countries is with crypto.
I have a service that I’m providing as a beta at the moment. The code is all Free Software (Debian, Stalwart, Bulwark) and the data is sovereign to Europe (SEAL level 4). Hosted in Sweden, Finland and soon Norway. All run by a Swedish company without any US corporate involvement so you’re not subject to Chinese or American jurisdiction (which means no US Cloud Act) but you are subject to European jurisdiction so you have GDPR and DSA protection, e.g. the right to be forgotten. Beta access is here: sverige.email/en/sign-up/
disroot.org
Damn I been using Gmail since the invite days. How does one even transfer their Gmail account? Best case to just set a POP service or mail forwarding to a new one?
Painfully migrate all accounts to the new email.
For existing emails: IMAP the old gmail, export them somehow and reimport to the new account.
For new that still arrive on gmail: Auto forward
Stalwart Labs have a new tool called “Vandelay” github.com/stalwartlabs/vandelay which does import / export via IMAP and JMAP. Pretty slick.
I was in the same boat until recently. Got a Proton account. There’s trivial import setup that both grabs all your email from Gmail, and it sets up forwarding.
Then you gotta start changing your email in different services to the new one. Should probably register domain for your new email so that you don’t have to do this exercise again if you switch out of Proton.
Install Proton’s mail bridge and Thunderbird to backup all your mail. Has better search too.
just get a trustworthy hoster and a good client application. Boom, most of the benefits with none of the headache.
And yeah, E-Mail is, what a decade of expanding scope does to you.
A decade? Email has been around longer than the web. Roughly forty years.
I outsourced my email to a provider.
Works great and only coats me 8€ per month for not having to wrestle IP spamlists, mailserver maintenance and reachability.
Have you tried mailcow.email
Its dockerized and preconfigured and cones with tools to manage. I am happy and I never wanted to touch mail.