[Rspamd-Users] Custom whitelist and blacklists

C. Bernard rspamd_users_ml at cmb.ch
Mon Sep 11 09:05:46 UTC 2023


Hi there

On 2023-09-11 10:15, Sławomir Dworaczek via Users wrote:
> heloo
> I created rules in the multimap.conf file
> 
> WHITELIST_SENDER_DOMAIN {
>  type = "form";
>  filter = "email:domain";
>  map = "${LOCAL_CONFDIR}/local.d/whitelist.sender.domain.map";
>  score = -6.0
>  symbol = "WHITELIST_SENDER_DOMAIN";
>  descryption = "Whitelist map for WHITELIST_SENDER_DOMAIN";
>  action = "accept";
> }
> BLACKLIST_SENDER_DOMAIN {
>  type = "form";
>  filter = "email:domain";
>  map = "${LOCAL_CONFDIR}/local.d/blacklist.sender.domain.map";
>  score = 15.0
>  symbol = "BLACKLIST_SENDER_DOMAIN";
>  descryption = "Blacklist map for BLACKLIST_SENDER_DOMAIN";
>  action = "reject";
> }
> 
> 
>  unfortunately when running rspam do receives the message
> cannot add rule: "WHITELIST_SENDER_DOMAIN"
> cannot add rule: "BLACKLIST_SENDER_DOMAIN"
> 
> file permissions are set correctly
> rspamd version is 3.6
> Thank you for your help
> 
> Slawek

why didn't you put ; at the end of the score lines? Mine have them 
there,
if you add them, will they load?

Cheers
cmb


More information about the Users mailing list