Login
You're viewing the ruby.social public feed.
  • Nov 1, 2026, 1:16 PM

    No webmail, only simple SMTP/IMAP with Postfix and Dovecot. All incoming mails are stored encrypted, all traffic uses TLS with a LetsEncrypt certificate. DKIM, SPF is configured. Admin work consists of keeping the OS and firewall up2date, this means maybe 1-2 hours in total per month. I am not saying you can also do that (I have a lot of experience). But I am saying that those skills can be learned and result in a lot less worries about being reachable :)

    #DigitalAutonomy #SelfHost @homelab

    💬 6🔄 2⭐ 15

Replies

  • Nov 1, 2026, 2:03 PM

    And, as expected, the first replies by people saying that running your own email server isn't something you should do are coming in. As I said in my first post — I ignore them. I have 20 years of practical experience with that, I know what works for me and my users and they have never complained. But, as I also said, that is just me. I am not saying that everyone can or should do it. What I am saying is that it absolutely is possible and that I share what I know in the hope it helps.

    @homelab

    💬 6🔄 3⭐ 5
  • Nov 2, 2026, 9:37 AM

    After a day of replies (keep em coming!), I see three camps:

    1. "I did this too, but gave up"
    2. "I thought about it but it looks like too much work"
    3. "Yeah, my mailserver is also running since years and JustWorks™"

    In group 3 a few newcomers that just started running their own mailserver, which makes me very happy.

    All 3 camps have good reasons for their decisions. I will continue to post about my setup in the hope I can move more people to the third camp :)

    Thank you all!

    @homelab

    💬 11🔄 6⭐ 43
  • Nov 1, 2026, 1:48 PM

    @jwildeboer @homelab I had this exact setup until an update broke my postfix config and smtpd failed to start. I didn't notice for almost a week since dovecot was still working and I don't receive a lot of emails each day. I'll never know how many emails I have missed during that period. I'm not saying it's impossible, but when you're new to these things it's hard to know when you've learned enough to self-host reliably enough. Now I still host my website, but I pay soverin to take care of my email. It's worth the peace of mind.

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 1:51 PM

    @trxxruraxvr I use the postfix and dovecot versions from the operating system (Red Hat Enterprise Linux) and in my 20 years have never experienced updates breaking my setup. But I would also get an alarm from my monitoring setup latest after 15 minutes of my mail server not accepting connections for IMAP and/or SMTP :) @homelab

    💬 1🔄 1⭐ 0
  • Nov 1, 2026, 2:47 PM

    @jwildeboer @trxxruraxvr @homelab

    The problem isn't that selfhosting email is impossible. It's that selfhosting email requires a level of babysitting that _almost_ nobody is willing to put up with for long. People generally do not want to setup DKIM and SPF only to find out later that now they have to setup DMARC. People generally do not want to spend a couple of hours getting their mail server working again because their Dovecot v2.3 config file is totally not compatible with Dovecot v2.4. People generally do not want to run a half dozen applications pasted together with peanut butter and chewing gum for what appears to be a single service. People generally do not want to figure out what is required to make custom spam evaluation rules because 5-10 spams a month is an unacceptable level of garbage. People generally do not want to spend days or weeks trying to get Microsoft to quit flagging them as spam even after jumping through their SNDS hoops. People generally do not want to invest more time managing a protocol/service that gets slightly less relevant every year.

    I selfhost email... and I also do it with Postfix and Dovecot. I just realize that compared to a relatively hands-off service such as Prosody for XMPP or nginx for http/https (hopefully without PHP) running a mail server is a big hassle that many people are just not willing to put up with. And anyone who has accidentally turned their box in to an open relay, isn't going to be very motivated to get back on the horse. Don't get me wrong, I think people SHOULD selfhost email and that people saying "selfhosting email is impossible" should shut the fuck up... I just think that anything instructing people to selfhost email should come with the disclaimer that it is more of a pain in the arse than most services.

    PS: Yes, the Dovecot v2.3 to v2.4 upgrade will very likely break things unless you create a new config file in advance.

    My three cents. ™️

    💬 4🔄 4⭐ 0
  • Nov 1, 2026, 2:57 PM

    @jmhorner I think I did all of that in my blog post series. It is littered with warnings "Here will be dragons" and that is not a simple install-and-forget thing. That it needs commitment and the willingness to learn. But I also think that making the knowledge needed accessible instead of treating it as some secret knowledge is the only way forward. @trxxruraxvr @homelab

    💬 2🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 1, 2026, 3:58 PM

    @jwildeboer I don't think I was saying that you had not provided adequate warnings about the hassles of email selfhosting. I have seen instances of that happening elsewhere though, and I think it hurts email overall. Truth is, what I'd really like to see is better/more open source all-in-one email solutions that don't require one application for SMTP, another for IMAP/POP, another for spam evaluation, and fragile config settings that tie them together. I'd also like to see better adoption/deployment of simple email config setups like SPF instead of overcomplicated things like DMARC or SNDS.

    My hope would be that more people would selfhost email, and that a critical mass of email selfhosters could maybe one day topple the handful of major email providers who have essentially defederated email for us.

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 6:33 AM

    @jmhorner @jwildeboer @trxxruraxvr @homelab a thing I find sad is that we've gone so far down the sovereignity route that we refuse to consider friends. A mailserver for one costs as much in compute and setup work as as mail server for fourty, but the same setup work can then be divided over fourty people. I don't self-host, I group-host with a bunch of friends for our friends and family, really.

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 7:03 AM

    @jmhorner That's one big reason for using RHEL and clones. You get that type of challenges when you're doing a major release upgrade. While the minor updates should not break existing setups. It's extremely seldom I've had stability issues in the RHEL universe.

    I typically end up setting up a new server in parallel when doing a major upgrade, where you have time to figure out these config issues in calmness.

    When the new server is working, it's all a matter of a DNS change. I have a short TTL in the beginning, so that I can quickly fallback to the old server if something goes wrong.

    @jwildeboer @trxxruraxvr

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 1, 2026, 1:46 PM

    @jwildeboer @homelab I have also for several years (not anymore) run my own mail server at home with good success. At the time I used Exim and SpamAssasin. I hardly got any spam as I used, among other things, graylisting for new unknown IP’s.

    I probably did put more time than your 1-2h on the spam tuning part but not very much.

    Running your own instance is perhaps not difficult. Keeping it secure is a totally different thing and because of that I don’t recommend this for everyone.

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 2:08 PM

    @jwildeboer @homelab I think that the main problem relates to spam.

    I stopped hosting my own email a few decades ago because of it, but I am headed back that way.

    Have to read your posts. I imagine you would have addressed it.

    💬 2🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 1, 2026, 2:16 PM

    @knowprose In my experience, spam simply isn't the big problem it was anymore. Greylisting and DNS reverse lookups on connecting IPs solve it almost completely. I have blocklist that I keep current for some of the notorious sender domains, but that list has become much shorter over the years. @homelab

    💬 3🔄 2⭐ 1
  • 💬 0🔄 0⭐ 0
  • Nov 1, 2026, 2:43 PM

    @jwildeboer @knowprose @homelab i self-host email for myself and several small businesses and nonprofits. I found spam is still really bad for any publicly listed email addresses, but I wrote a little bash script for SpamAssassin's learn function so that users can just drop email into a "trainspam" folder and it gets processed with sa-learn before being deleted. That's actually helped quite a bit! There's still a steady stream of spam, but it's a slow stream now.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 1, 2026, 3:26 PM

    @jwildeboer @knowprose @homelab On greylisting, it served me really well for several years almost eliminating spam, but I've found it unusable and disabled it about 5 years ago. The problem is that there are too many services that users expect instant email for today, like all the forced 2FA login codes or magic links, where waiting 5-15min for an email is at best a big nuisance and at worst makes it impossible to login to some services (and I couldn't keep up with whitelisting for ~40 users)

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 2:14 PM

    @knowprose In my experience, receiving e-mails is trivial, including spam handling.

    It's outgoing mails ending up as a huge annoyance if your server IP address has ended up in a larger block list range.

    Microsoft, Google and Apple are all mostly non-responsive when reaching out - if you're able to find a contact point.

    @jwildeboer @homelab

    💬 2🔄 0⭐ 0
  • Nov 1, 2026, 2:18 PM

    @dazo @jwildeboer @homelab yeah that changed around the time spam shifted. I was getting loads of spam.

    I mean LOADS. Spam bukkake.

    And in 2015 or so, I did write some automated email stuff to see if email responses were sent for ecn (now onsolve). Responses on anything email leave a lot to be desired.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • Nov 1, 2026, 2:12 PM

    @jwildeboer
    I wonder how expensive is it to have my email address changed? The point is many people already know the old email and it's what distributed over the years.

    (Let's don't worry about accounts made w/ current address)

    @homelab

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 2:30 PM

    @jwildeboer I run my own mail server too, but I wouldn't recommend it to anyone without solid Linux skills.

    You need to really understand SMTP, DNS, DKIM and friends, and when something breaks, it's your users' mail that silently lands in spam or gets lost.

    That responsibility is what most of the warnings are about, not that it's impossible.

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 5:51 PM

    @jwildeboer thank you for sharing how you run all of your setups. I do run two mail servers (one for myself and one for a local community) and can confirm: it sometimes is hard work, but it is doable.

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 9:45 AM

    @jwildeboer @homelab I am in (1) (but that is a long time ago. Might be easier now) the main reason I cannot switch is that for most part of my family I created the mails for them and configured their Mail Clients. So if I go away from the provider (ionos) none of their mails would work anymore.

    Even if I manage to migrate my own mails: A different cup of tea for them. And I really despise my provider so it hurts a bit that I cannot switch

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 10:00 AM

    @jwildeboer @homelab I'm firmly in camp 3, using Postfix/Dovecot since, I dunno, 2003? Don't remember.

    Lately, I have been truly amazed by Stalwart. Deployed it on a fresh VM with an unused domain and it's really an eye opener how easy mail server administration can become if you leverage ACME and DNS automation. I got from zero to "deliverability into the M365 network" in about one hour.

    I'm seriously considering the switch to Stalwart.

    💬 1🔄 0⭐ 3
  • 💬 1🔄 1⭐ 0
  • 💬 1🔄 0⭐ 0
  • Nov 2, 2026, 11:25 AM

    @christopherkunz @jwildeboer @homelab

    So far, way, way better than generic rspamd/DNSBL in the past but then I only used a pretty generic setup.

    After the initial ham/spam problem, it's getting better and better. Over the past week I only got two (out of about 250 emails) spams in my inbox and no false positives.

    Currently running small ollama in parallel as an additional classifier but not sure whether it's worth it.

    Thus, it seems to work better than my old set-up, but I cannot tell you for sure how "perfect" it is. Well actually, it filters spam out which passes the GMX mail filter first, but not sure whether this is a high or low hurdle. 😉

    💬 0🔄 1⭐ 0
  • Nov 2, 2026, 9:48 AM

    @jwildeboer @homelab do you have plans on anything high level, on bounce handling, maintaining reputation and actually delivering reliably to the big providers people have their boxes on?

    Spf/dkim/dmarc obviously, but the softer process side...

    Because I've never reliably cracked those, and neither have any of the smaller providers I've bought from...

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 10:07 AM

    @jwildeboer @homelab I’m camp 3 and seriously considering moving into camp 4: “Moved off grid into the wilderness to never bother again about anything running on electricity”

    (current server is EL7 and seriously needs to be migrated to something current. But can’t seem to muster the energy to do so, specially considering downtime and communication to users)

    💬 0🔄 1⭐ 2
  • Nov 2, 2026, 12:03 PM

    @jwildeboer
    I'm group 1 & 3, with more of 3.

    I'm running Docker Mail Service (DMS), which was vary easy to set up, documentation contained instructions how to setup the DNS/DKIM/SPF, but I will dump them because of the slop taint.

    Otherwise the only problem I have is Gmail throwing outbound mail into spam by default. If it weren't for this (and being unemployed), I'd took your inbound mail encryption and start preparing for making my main mail server.

    @homelab

    💬 1🔄 1⭐ 2
  • 💬 0🔄 1⭐ 0
  • Nov 2, 2026, 2:27 PM

    @jwildeboer @homelab 3. Postfix, Dovecot+Sieve, Rspamd for 25+ years. Minor adjustments on the way, including switching from MariaDB TO PostgreSQL and writing my own API for administration. Went from baremetal Linux to baremetal Kubernetes. Certificates from Cert-Manager.

    💬 1🔄 1⭐ 1
  • Nov 2, 2026, 3:49 PM

    @jwildeboer @homelab While Stalwart looks sexy, it feels a little all-eggs-in-one-basket-y. I think I'll stick with my current stack.

    💬 0🔄 1⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 2🔄 1⭐ 1
  • 💬 1🔄 2⭐ 6
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1
  • Nov 2, 2026, 7:38 PM

    @jwildeboer I'm in camp 2 and have been for a while, but I'm gonna try again soon and maybe I'll be in camp 3 then. It's probably easier to do the DNS records now, considering programs can often automatically update DNS nowadays with an API key depending on provider. I'll try stalwart for now, maybe I'll deconstruct the stack and switch to postfix, etc down the line, but rn I want something that has a greater chance of working, so an all in one package like that sounds interesting.
    BTW, how often do you rotate your dkim keys? or maybe a better question would be, do you do so at all? also, are reverse PTR records required, or only optional and evidence about big email providers blocking people who don't have those is anecdotal? I don't want to be blocked the first time my server comes online, because then I imagine becoming unblocked is that much harder. Finally, is a setup like what you described good for git over email stile collaboration? Don't the extra headers mess with the git tools? I'm primarily thinking of sourcehut and the like.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 1⭐ 0
  • Nov 3, 2026, 12:24 AM

    @jwildeboer @homelab I was just thinking not to long ago how long I've been running postfix/dovecot on hardware on my own ip for. So you can count me in group 3. So far all the big uglies are still accepting emails from my server and that's my biggest fear really, that they'll just start rejecting in a concerted effort to just kill of independent email. What's really funny to me is I started out with hmailserver pulling from the company's isp email so everyone could pick and choose the emails they'd deal with before I migrated the domain to our own email server. Yes, boss, you can have a domain name the same as your biz name. 😂 Back when IT was actually fun.

    💬 0🔄 0⭐ 1
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • DoerkNebulaTide@bsd.cafe
    Nov 2, 2026, 11:51 AM

    @jwildeboer @homelab

    Please excuse if I missed something in your blog, but how are you encrypting incoming mails? This is something where I still struggle.

    💬 0🔄 0⭐ 0
  • Nov 2, 2026, 12:13 PM

    @jwildeboer @homelab

    I wonder if any barriers to doing this are confidence rather than technical skills, you're right we can learn these skills but having confidence the resulting system is safe, secure and can be maintained that way is a different thing.

    💬 0🔄 1⭐ 0