Module 5 · Lesson 12 of 26

Safe customization with local.d overrides

Part of Mailcow: Self-Hosted Mail Server Mastery — Rspamd Tuning.

Never edit files in /override/rspamd/override.d/ — those are version-pinned. Use /data/conf/rspamd/local.d/ for additions and /override.d/ for full replacements.

Common edits:

local.d/actions.conf — adjust thresholds:

reject = 18;
add_header = 7;
greylist = 5;

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;
}

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 — Mailcow's implementation only defers once and remembers good senders.

Sign in to keep track of what you have read.

Pulse · self-hosted sending

Own the infrastructure your pipeline depends on.

One install script on your own server. Pulse sets up the MTA, mailboxes, certificates and dashboard; you add domains and start sending.

# 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