[Rspamd-Users] Fw: Custom whitelist and blacklists

Sławomir Dworaczek slawek at dworaczek.info
Mon Sep 11 09:22:12 UTC 2023


heloo
unfortunately, adding a semicolon ; in the score section did not change 
anything
regards
Slawek
----- Original Message ----- 
From: "C. Bernard via Users" <users at lists.rspamd.com>
To: "User questions" <users at lists.rspamd.com>
Cc: "C. Bernard" <rspamd_users_ml at cmb.ch>
Sent: Monday, September 11, 2023 11:05 AM
Subject: Re: [Rspamd-Users] Custom whitelist and blacklists


> 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
> -- 
> Users mailing list
> Users at lists.rspamd.com
> https://lists.rspamd.com/mailman/listinfo/users
> 



More information about the Users mailing list