diff options
author | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-06 06:44:58 +0000 |
---|---|---|
committer | twesterhever <40121680+twesterhever@users.noreply.github.com> | 2024-05-06 06:44:58 +0000 |
commit | db077aa77ef90d6f5ddd18aae1a8e98cd1b6325e (patch) | |
tree | 48fb7ea5a776745caccfff5fd1a2c571552b6bc6 /conf | |
parent | 7aed92049b550e651858e78412ee6452a1b32c4f (diff) | |
download | rspamd-db077aa77ef90d6f5ddd18aae1a8e98cd1b6325e.tar.gz rspamd-db077aa77ef90d6f5ddd18aae1a8e98cd1b6325e.zip |
[Minor] Properly make use of selectors for checking MID RHSs against DNSBLs
Related to: https://github.com/rspamd/rspamd/pull/4888
Diffstat (limited to 'conf')
-rw-r--r-- | conf/modules.d/rbl.conf | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf index fc093eedc..c3594dbc9 100644 --- a/conf/modules.d/rbl.conf +++ b/conf/modules.d/rbl.conf @@ -208,7 +208,9 @@ rbl { checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls']; emails_domainonly = true; exclude_users = false; - selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + selector = { + mid = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + } returnbits = { CRACKED_SURBL = 128; @@ -245,7 +247,9 @@ rbl { checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls']; emails_domainonly = true; exclude_users = false; - selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + selector = { + mid = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + } returnbits { URIBL_BLOCKED = 1; @@ -279,7 +283,9 @@ rbl { checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls']; emails_domainonly = true; exclude_users = false; - selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + selector = { + mid = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last'; + } returncodes = { # spam domain |