System-wide Rspamd blacklist/whitelist?

petersconsult

Verified User
Joined
Sep 10, 2021
Messages
92
Hello all,
Are there system-wide blacklist and whitelist for Rspamd?
i'd like to whitelist some domains in Rspamd without affecting Exim..

i found this online; has anyone tried this? would it work?

first, create the file /etc/rspamd/local.d/multimap.conf
Code:
WHITELIST_SENDER_DOMAIN {
        type = "from";
        filter = "email:domain";
        map = "/etc/rspamd/local.d/whitelist.sender.domain.map";
        symbol = "WHITELIST_SENDER_DOMAIN";
        score = -9.0;
}

then, in the file /etc/rspamd/local.d/whitelist.sender.domain.map
Code:
meinedomain.tld
anderedomain.tld

Thank You All!
 
Back
Top