Emilien’s Blog: CyberCarnet

πŸ‘‹ Welcome to my blog!

  • CyberCarnet is a place where I share articles about tech discoveries, tutorials, my life and more.
  • Feel free to add my blog in your RSS client if you want to follow my discoveries.

Fighting Email Spam on your Mail Server with LLMs β€” Privately

Spam emails have significantly increased over the years. Nowadays, your email address is in all spammers lists. Spammers are better at SPF, DKIM, and DMARC than everyone else.1 Traditional protections don’t work anymore. Here is how to effectively reduce the spam on your own mail server by scanning your emails with local LLMs. We will use Rspamd with Mailcow, but this also works with a standalone Rspamd. Ollama will be used for its simplicity, but this also works with any other OpenAI compatible API. Why did I start using LLMs to scan my emails? I have been self-hosting my own mail server for 10 years. The default Rspamd configuration of Mailcow has always exceptionally blocked 95% of the spam. ...

October 11, 2025 Β· Emilien