rspamd: allow more regexes in blacklists
This commit is contained in:
parent
2fc48b6708
commit
340781cafd
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue