rspamd: allow more regexes in blacklists

This commit is contained in:
Rouven Seifert 2024-07-14 14:32:25 +02:00
parent 2fc48b6708
commit 340781cafd
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -141,22 +141,26 @@ in
filter = "email:domain"; filter = "email:domain";
map = "/var/lib/rspamd/whitelist.sender.domain.map"; map = "/var/lib/rspamd/whitelist.sender.domain.map";
action = "accept"; action = "accept";
regexp = true;
} }
WHITELIST_SENDER_EMAIL { WHITELIST_SENDER_EMAIL {
type = "from"; type = "from";
map = "/var/lib/rspamd/whitelist.sender.email.map"; map = "/var/lib/rspamd/whitelist.sender.email.map";
action = "accept"; action = "accept";
regexp = true;
} }
BLACKLIST_SENDER_DOMAIN { BLACKLIST_SENDER_DOMAIN {
type = "from"; type = "from";
filter = "email:domain"; filter = "email:domain";
map = "/var/lib/rspamd/blacklist.sender.domain.map"; map = "/var/lib/rspamd/blacklist.sender.domain.map";
action = "reject"; action = "reject";
regexp = true;
} }
BLACKLIST_SENDER_EMAIL { BLACKLIST_SENDER_EMAIL {
type = "from"; type = "from";
map = "/var/lib/rspamd/blacklist.sender.email.map"; map = "/var/lib/rspamd/blacklist.sender.email.map";
action = "reject"; action = "reject";
regexp = true;
} }
BLACKLIST_SUBJECT_KEYWORDS { BLACKLIST_SUBJECT_KEYWORDS {
type = "header"; type = "header";