[Rspamd] Add filter to global mime black- and whitelists to only match addr

This commit is contained in:
andryyy 2020-09-12 20:11:18 +02:00
parent 7feb589b90
commit 943730de47
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -60,6 +60,7 @@ GLOBAL_SMTP_FROM_BL {
GLOBAL_MIME_FROM_WL {
type = "header";
header = "from";
filter = "email:addr";
map = "${LOCAL_CONFDIR}/custom/global_mime_from_whitelist.map";
regexp = true;
score = -2050;
@ -68,6 +69,7 @@ GLOBAL_MIME_FROM_WL {
GLOBAL_MIME_FROM_BL {
type = "header";
header = "from";
filter = "email:addr";
map = "${LOCAL_CONFDIR}/custom/global_mime_from_blacklist.map";
regexp = true;
prefilter = true;