Login
You're viewing the ruby.social public feed.

Replies

  • 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
  • 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
  • 💬 3🔄 0⭐ 0
  • Nov 1, 2026, 1:19 PM

    @tommi

    Spam: no problem. I get maybe 5-10/month, which result in reporting them via Spamcop or adding the sending server to my blocklist.

    Maintenance time: As I explained in the first reply, maybe 1-2 hours per month.

    Stalwart: No, I stick with my very basic dovecot and postfix setup. Nothing more needed and keeping it simple helps me to make sure I understand all moving parts and am not dependent on someone else.

    @homelab @stalwartlabs

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

    @bob_zim @jwildeboer @tommi @homelab @stalwartlabs

    if you register your domain/server with google & microsoft, most of the time deliverability isn't a problem. yahoo goes back and forth on being difficult.

    i get email to all 3 pretty reliably. every so often, mail i sent goes into spam but if the user marks as "not spam", that usually cures the problem.

    for software, doing postfix and dovecot. i also do postgrey, which is occasionally annoying but spamhaus RBL and postgrey probably eliminate 2/3s of incoming spam before it even gets delivered to my server.

    SPF/DMARC are a one time DNS update and opendkim does dkim painlessly. (i also do my own DNS).

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

    @bob_zim @jwildeboer @tommi @homelab @stalwartlabs

    one other surprise. if you're doing a lot of email to/from .DE, some german providers are very fussy when dealing with spam/blocks that you must have a web site with contact info. i don't have a web site listed and i haven't had a problem but a mail operator mailing list i'm on does have folks sometimes mention hitting this.

    💬 0🔄 1⭐ 0
  • Nov 1, 2026, 9:33 PM

    @paul_ipv6 @bob_zim @jwildeboer @tommi @homelab @stalwartlabs I host my own mail server, on a non-residential IP, with fcrdns, spf, dkim, dmarc, and I often end up in spam when sending to gmail or outlook.com

    I think its basically unavoidable when you're a low-traffic sender: big email providers default to "everything is spam, until proved otherwise".
    Where "proven otherwise" is: the user goes to their spam folder and marks the mail as non-spam... repeatedly enough to raise the sender's score

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

    @dlatchx @bob_zim @jwildeboer @tommi @homelab @stalwartlabs

    defeats centralization? we've lost that battle for email. if you can't send email to google/microsoft/yahoo, you lose access to the vast majority of email users. that's just reality. at least some of us can still run our own email servers and participate in SMTP at all. but it does mean you have to do SPF/DKIM/DMARC, register your domain for google/microsoft, and play their game if it goes sideways.

    do check if you're doing v4 or v6 delivery by default for google. i've had better luck doing v6. they seem to have different filtering metrics on their internal reputation checks for v4 vs v6.

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

    @paul_ipv6 @dlatchx @bob_zim @jwildeboer @tommi @homelab @stalwartlabs I don't "register my domain for google/microsoft", accept DKIM, or any of that, and mailing Google and Microsoft recipients works fine.

    I assume you didn't intend it this way but "lose access to the vast majority of email users" is kinda creepy wording. Email isn't supposed to provide "access to users" but honor their choices to have or not to have relationships. The dynamics of abusive providers & users are very much like with instances and users on fedi - particularly nobody being entitled to make contact with ppl who don't want it, but also instances not being entitled to cut off people's relationships.

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

    @FritzAdalis My incoming mail server has a stricter compliance requirements, like no IP addressed allowed in HELO, sender email domain must be a valid and existing domain, reject anything with "localhost", etc. Just that kills a lot of spam noise. Adding a slow-down of 5 seconds after HELO and reducing the amount of recipients and parallel transfers helps. Enabling various RBL lists kills a lot of attempts.

    I also have a log monitor running which triggers on many of the REJECT events which adds the connecting IP address on a blocklist for 2 weeks. That kills recurring attempts.

    Most of the spam which gets caught in my setup are e-mail forwards from Microsoft or Google to domains I accept. There the compliance tests are seldom an issue. And that's where the spam filter kicks in, which evaluates the content of the mails.

    My philosophy is basically to filter out as much noise as possible before starting to spend CPU cycles on spam filtering the e-mail (body) content. That strategy has worked quite well for the last 20 years. I had expected spammers to adjust and improve here, but so far they're mostly very lazy.

    @jwildeboer @tommi

    💬 0🔄 0⭐ 0
  • Nov 1, 2026, 7:39 PM

    @tommi @jwildeboer @homelab @stalwartlabs FWIW, I also self host my email servers for a few domains. My own approach with rejected outgoing messages is that if you, recipient, don't want to receive my email, then fine, I'm not bothering you with it. I do my best to be a good citizen (opt-in subscription, SPF, DKIM, one click unsubscribe, etc), but at the end of the day everybody is free to reject whatever they want.

    💬 0🔄 0⭐ 0
  • 💬 1🔄 2⭐ 2
  • 💬 0🔄 1⭐ 0
  • 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