From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Sun, 28 Apr 2024 08:43:32 +0000 (+0000) Subject: [Minor] Query MID RHS FQDNs against popular DNSBL using selectors X-Git-Tag: 3.9.0~49^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4888%2Fhead;p=thirdparty%2Frspamd.git [Minor] Query MID RHS FQDNs against popular DNSBL using selectors See https://github.com/rspamd/rspamd/pull/4888 for the related discussion. --- diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf index ef87c4c5a0..fc093eedcf 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