Spamfilter Rspamd
Spamfilter Rspamd is an Rspamd scanner container for the IMAP spam filter stack.
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
47/100 Fair
- Maintained
- 69last commit 160 days ago
- Popular
- 2110 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- No data
Based on 3 of 4 factors.
Availability: platform listings confirmed today, links checked 55 days ago
- GitHub stars
- 10
- Open issues
- 0
- Last commit
- 2026-06-14
- Latest release
- v1.0.0
- License
- MIT
- Activity
- stale
Checked 17 days ago - source: GitHub (marcelverdult/imap-spamfilter)
Resources & Compatibility
ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Install spamfilter with pip Run pip install spamfilter (pip is Python's package installer) to add the package; if that command is not found, use python3 -m pip install spamfilter instead. This makes the spamfilter code available, and without it any program that imports it will fail. source
- Check the install worked Start Python (for example by typing python3 in a terminal) and run import spamfilter, then check spamfilter.__version__. This quick check confirms Python can find the package before you build or start anything that relies on it. source
- Add extras only if you need them If you plan to use optional features, install the matching extra, for example pip install spamfilter[openai]. Extras add extra packages for OpenAI, API calls, or machine-learning transformers, and skipping the right one leaves that feature unavailable. source
- Run bootstrap.sh before first start Run bootstrap.sh once on the host before starting the container to prepare worker-controller.inc. source
Fetched 52 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
Do I need to run bootstrap.sh before the first start?
Yes, run bootstrap.sh once on the host before starting the container to prepare worker-controller.inc.
What happens if Rspamd is unreachable or a required folder is missing?
The stack fails closed; if Rspamd is unreachable, a parse error occurs, or a folder is missing, the message stays put.
How can I prevent the filter from moving mail?
Set the account to shadow mode in accounts.yml, which scans and logs only without mailbox writes.
How does the filter learn spam and ham?
Move Inbox mail to Junk to train spam, or move Junk mail to Inbox to train ham, after the grace window. Using the IMAP keyword $Junk or $NotJunk skips the grace window.
What state should I back up for learned filtering?
Back up the Redis container, which persists Rspamd Bayes tokens, fuzzy hashes, and neural weights using AOF and RDB.
Answers sourced from github.com
Community
- Self-hosted spam gateway : r/selfhosted - Reddit (reddit)
- disable spamfilter (rspamd) for a single mailbox (forum)
- Questions regarding Rspamd spam filtering - Howtoforge (forum)
- Rspamd: Fast, free and open-source spam filtering system (forum)
- [Support] imap-spamfilter - IMAP spam filter with rspamd Bayes (forum)
Collected 48 days ago - public community threads