Spamhaus & rspamd config on NS8

Hi Nuke,

Good news on the NS8 side: this is already built into the Mail module, no manual Postfix config needed. It’s documented in the README: Rspamd plugin for Spamhaus DQS, and also listed in the Milestone 8.9 release notes — worth a read if you want the bigger picture of what changed recently on NS8, there’s a lot in there.

The NS8 steps (these I can confirm):

  1. Get a DQS token from Spamhaus (see below for caveats on this part).

  2. Edit the module’s state/rspamd.env file and add:

    RSPAMD_dqs_token=<MY_DQS_KEY>
    
  3. Restart Rspamd:

    systemctl --user restart rspamd
    

No separate Postfix configuration is needed — it’s handled entirely through this Rspamd plugin, thanks to @mrmarkuz and @pagaille. To disable it later, just remove that line and restart the service.

On the Spamhaus side, I can’t speak with authority — best to verify directly with Spamhaus support/docs whether your existing key carries over to a DQS token.

This is the discussion about this feature Rspamd DBL checks disabled because of the use of an open DNS?


BTW do you have Debian 13? I just replied about this warning in this thread Podman error in log: driver "overlay" overwritten