[Rspamd-Users] Configuration of Domain Whitelisting

Hagen Bauer hagen.bauer at caserio.de
Fri Aug 27 10:51:31 UTC 2021


Hi,

I am trying to setup a Whitelist for Domains that should be ignored bei rspam and just be passed. The setup is on freebsd

I created a /usr/local/etc/rspamd/local.d/whitelist.sender.domain.map which contains the mail domains that should be white listed

I created a locel whitelist configuration 

  vi /usr/local/etc/rspamd/local.d/whitelist.conf
     WHITELIST_SENDER_DOMAIN {
       type = "from";
        prefilter = true;
       filter = "email:domain";
        map = "/usr/local/etc/rspamd/local.d/whitelist.sender.domain.map";
       action = "accept";
    }

When I look at /usr/local/etc/rspamd/modules.d/whitelist.conf this configuration file should be include by the line

   .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/whitelist.conf"

But the rules are not used. 

Which part do i miss?

Regards

Hagen Bauer



More information about the Users mailing list