aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-05-02 19:43:32 +0600
committerGitHub <noreply@github.com>2024-05-02 19:43:32 +0600
commit4b9bfa960d34729ef8703f0e67aa18aee9b01638 (patch)
tree3f49e79ff2f9e9342822125b1c128981a9d9587a
parent073d6f00eb4555977de895001e35de78ef6e103c (diff)
parent0f5c55e846afe1507bd9fe5a5f04ff252989af30 (diff)
downloadrspamd-4b9bfa960d34729ef8703f0e67aa18aee9b01638.tar.gz
rspamd-4b9bfa960d34729ef8703f0e67aa18aee9b01638.zip
Merge pull request #4888 from twesterhever/temp-rbl-mid
Implement DNSBL checks for Message-ID RHS
-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