Skip to content
Module 5 · Lesson 11 of 26

Rspamd architecture inside Mailcow

Part of Mailcow: Self-Hosted Mail Server Mastery, in the Rspamd Tuning module.

Author

Rspamd replaces SpamAssassin + Amavis in the Mailcow stack. It's faster (event-driven Lua) and more accurate (gradient-boosted Bayes + DNS lookups).

Score thresholds (default):

Score Action
< 4 Pass (no action)
4 ≤ s < 6 Greylist (defer once)
6 ≤ s < 15 Add spam header, deliver to Junk
≥ 15 Reject at SMTP time

Modules to know:

Module What it does
rbl Queries DNSBLs (Spamhaus, SURBL, etc.)
dkim_signing Outbound DKIM with keys from the UI
arc ARC sealing on forwarded mail
multimap User-supplied allow/block lists
bayes Per-user content classification
neural Optional ML model on top of Bayes
fuzzy_check Hash-based recurring-spam detection

Access the Rspamd UI at https://mail.example.com/rspamd/. The username/password are in mailcow.conf (RSPAMD_UI_PASSWORD).

Sign in to keep track of what you have read.

Pulse · email sending

Sending infrastructure that is yours alone.

Every domain gets its own MX host, IP, DKIM selector and certificate. Take it managed, and we run it for you, or buy a licence and run it on your own servers.

# on a fresh Ubuntu server
$ cd pulse && sudo ./install.sh
→ docker compose up · kumomta · stalwart · caddy
→ dashboard ready on https://pulse.yourdomain.com
$

Also from us:Beat: monitoring that tells you the fixConsulting: $65/hr, no retainer