I’ve got a few domains that continue to get past the rspamd filter. Back when I used ClearOS, I had manual blacklist/block lists in postfix which I edited to add domains and IP ranges.
Given that NS8 is containerized, I’ve been looking at how to use the blacklists in rspamd. For that you are supposed to add files to /etc/rspamd/local.d/ which is well and good but I’m guessing that will be overwritten when the next Mail container update happens??
I’ve read through the docs but don’t find anything about this.
So a couple of questions:
If I add blacklists and multimap.conf to /etc/rspamd/local.d/ will it survive a container update?
If it won’t survive, is there a recommended way to enable a local directory for these blacklists?
If that won’t for rspamd, is it possible with postfix? (I’d really like to add customization to postfix like adding blacklists, Barracuda and Spamcop as I had with ClearOS)
Thank you @mrmarkuz and @MadPatrick . I see the new mail module was just released 2 hrs ago. Looks like I’ll be updating soon so I can try this out.
Thanks again both of you!
No, it shouldn’t break it.
Your multimap.conf is located in /var/lib/rspamd/dynamic/multimap.conf, the new one is in /etc/rspamd/local.d/.
Your maps end with .inc, the new maps are ending with .map so there shouldn’t be conflicts.
This error is shown when the block_sender_domain_suffix.map (which is a regexp map) is empty.
It seems harmless but I’m going to find a way to avoid it.