aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2024-04-28 08:43:32 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2024-04-28 08:43:32 +0000
commit0f5c55e846afe1507bd9fe5a5f04ff252989af30 (patch)
treec6a927528d068bbd17c391bd960fe7558b3e8f93 /conf
parent1e47b6a63efe82c87968542d61ddcf129ee99095 (diff)
downloadrspamd-0f5c55e846afe1507bd9fe5a5f04ff252989af30.tar.gz
rspamd-0f5c55e846afe1507bd9fe5a5f04ff252989af30.zip
[Minor] Query MID RHS FQDNs against popular DNSBL using selectors
See https://github.com/rspamd/rspamd/pull/4888 for the related discussion.
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/rbl.conf3
1 files changed, 3 insertions, 0 deletions
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