Well.. Been using Proton since 2020 and ever since that I don't have spam issues. I am also using aliases, so if somebody sends me way too many newsletters I just disable the alias. This probably won't help you, but you asked π
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (donβt cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Hard SPF and DKIM enforcement helps.
I recently looked at my emails spam filters and my goodness. I've built a monstrosity over a few decades here.
LMAO! I would speculate that conservatively 90% of all my mail is spam that gets either rejected or dropped in the trash bin.
As @eksb@programming.dev said, SpamAssasin and diligent training. Also, pFsense will filter based on rules and criteria in conjunction with Suricata or Snort.
I use POPFile, open source software that classifies email into whatever categories you set up using a Bayesian algorithm (so you train it). It works as a proxy so it does it when your download email, so not a solution to your inbox filling up unless your can figure out how to run it on the server automatically.
It tags the email with a header and I use Thunderbird filters to move mail to folders for spam, adverts, political spam, and regular inbox.
It's abandonware but it still works and doesn't really need any more features IMO.
My mailserver runs on Stalwart. Whatever it does works for me. I haven't yet had to change the defaults. It's also very easy to set up and requires next to no maintenance.
(It also does JMAP, which is like IMAP, but modern and efficient)
Unfortunately JMAP isn't supported (yet) by a lot of email clients. I don't think there's a good open-source email suite for computers available... But I've tried Stalwart as well and it's really sleek and seems to come with good defaults.
Sure, not widely supported, but if you use clients supporting it, it is great. Blazingly fast, while IMAP is always slow.
Also, Thunderbird is working on JMAP support: https://blog.thunderbird.net/2025/09/state-of-the-thunder-mozilla-connect-updates/
Yes. I think several clients have open feature requests. The Stalwart documentation has a list of projects. There is one command line client as of now. But I'm not switching to a cli mail client or proprietary software, so I've postponed it. We'll see where this is going.
I welcome these modernization attempts. Though in theory I'd love to see someone revamp email in its entirety, add encryption, signatures, chat and crack down on spam and phishing. Not sure if that's ever going to happen, but that'd be great, too.
spamassassin
There are some tweaks you can usually do on the server/host side as well. That's particularly helpful if you use Thunderbird on multiple devices, such as desktop and phone.
Hopefully it will be even easier over time to sync settings between devices β I'd love to see filters and signatures across devices one day.