commit db077aa: [Minor] Properly make use of selectors for checking MID RHSs against DNSBLs
twesterhever
40121680+twesterhever at users.noreply.github.com
Mon Jul 29 17:56:41 UTC 2024
Author: twesterhever
Date: 2024-05-06 06:44:58 +0000
URL: https://github.com/rspamd/rspamd/commit/db077aa77ef90d6f5ddd18aae1a8e98cd1b6325e (refs/pull/4955/head)
[Minor] Properly make use of selectors for checking MID RHSs against DNSBLs
Related to: https://github.com/rspamd/rspamd/pull/4888
---
conf/modules.d/rbl.conf | 12 +++++++++---
1 file 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
More information about the Commits
mailing list