Browse Source

[Minor] Properly make use of selectors for checking MID RHSs against DNSBLs

Related to: https://github.com/rspamd/rspamd/pull/4888
pull/4955/head
twesterhever 1 month ago
parent
commit
db077aa77e
1 changed files with 9 additions and 3 deletions
  1. 9
    3
      conf/modules.d/rbl.conf

+ 9
- 3
conf/modules.d/rbl.conf View File

@@ -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

Loading…
Cancel
Save