Never edit files in /override/rspamd/override.d/, since those are version-pinned. Use /data/conf/rspamd/local.d/ for additions and /override.d/ for full replacements.
Common edits:
In local.d/actions.conf, adjust thresholds:
reject = 18;
add_header = 7;
greylist = 5;
In local.d/multimap.conf, block a sender domain:
SENDER_BLOCKLIST {
type = "from";
filter = "email:domain";
map = "/etc/rspamd/custom/sender_blocklist.map";
symbols_set = ["BAD_DOMAIN"];
score = 15.0;
}
In local.d/dkim_signing.conf, add an ARC sign requirement for forwarded mail.
After editing, restart:
docker compose restart rspamd-mailcow
⚠️ Don't disable greylisting. It's the single biggest spam reducer in the stack, and Mailcow's implementation only defers once and remembers good senders.
Sign in to keep track of what you have read.