commit 0f5c55e: [Minor] Query MID RHS FQDNs against popular DNSBL using selectors
twesterhever
40121680+twesterhever at users.noreply.github.com
Mon Jul 29 17:56:21 UTC 2024
Author: twesterhever
Date: 2024-04-28 08:43:32 +0000
URL: https://github.com/rspamd/rspamd/commit/0f5c55e846afe1507bd9fe5a5f04ff252989af30 (refs/pull/4888/head)
[Minor] Query MID RHS FQDNs against popular DNSBL using selectors
See https://github.com/rspamd/rspamd/pull/4888 for the related
discussion.
---
conf/modules.d/rbl.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf
index ef87c4c5a..fc093eedc 100644
--- a/conf/modules.d/rbl.conf
+++ b/conf/modules.d/rbl.conf
@@ -208,6 +208,7 @@ rbl {
checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true;
exclude_users = false;
+ selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last';
returnbits = {
CRACKED_SURBL = 128;
@@ -244,6 +245,7 @@ rbl {
checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true;
exclude_users = false;
+ selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last';
returnbits {
URIBL_BLOCKED = 1;
@@ -277,6 +279,7 @@ rbl {
checks = ['emails', 'dkim', 'helo', 'rdns', 'replyto', 'urls'];
emails_domainonly = true;
exclude_users = false;
+ selector = 'header(Message-Id).regexp("@([^\.]+\.[^>]+)").last';
returncodes = {
# spam domain
More information about the Commits
mailing list