[Rspamd-Users] Custim whitelist and blacklists

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


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


More information about the Users mailing list