RSPAMD integration for Domino?
Daniel Nashed – 16 December 2025 18:57:12
My mom just asked me about a e-mail she got because she did not order anything online.I got those type of messages for a while because spammers got more clever the last years.
Even with DKIM and SPF enabled, gray listing and some other rules in my SpamGeek application I still get spam.
So here is the new before x-mas project. I looked what open source solutions would fit well for Domino. This might also be a good option to add Antivirus to my SMTP gateway.
https://rspamd.com/
RSPAMD looks great as a plug-in into my existing SpamGeek to provide additional score.
It also has interesting extensibility and comes with a couple of interesting data pools to build rules with.
There is also a new integration for OpenAI and Ollama - which I want to look into once I got it integrated.
It also has options it integrate ClamAV and other virus scanners. Which are also on my list to look into after it is integrated.
The first idea to integrate it was to use the milter interface which I have already implemented as a client lib in C earlier.
But RSPAMD has another interesting option. They have a REST API which provides more input and result options.
You can add metadata like IP, helo and sender etc via HTTP headers and get JSON with a detailed score back.
RSPAMD also speaks HTTP over UNIX socket in addition to TCP/IP.
So I implemented C/C++ code to post the EML with the metadata, get the result back in JSON format and parse it.
Because the integration will later need to work with the MIME stream I read from a document step by step I also implemented HTTP chunked transfers to not have to read the full file into memory first to know the content length.
This looks very promising and I will do some testing with existing data first.
Porting it to Windows would make it more complicated because the API differences.
If I would, introducing OpenSSL as the network layer would make sense to avoid Windows vs. Linux TCP/IP operations.
Linux is just so much more straightforward and flexible. Using a UNIX socket makes it more elegant.
Is anyone using RSPAMD already?
- Comments [0]