commit a5c8054: [Minor] Add more returnbits to surbl configuration

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:52:08 UTC 2024


Author: Andrew Lewis
Date: 2024-01-31 17:07:57 +0200
URL: https://github.com/rspamd/rspamd/commit/a5c80541154fdb648f93f87d90381f4ddabe887a (refs/pull/4803/head)

[Minor] Add more returnbits to surbl configuration

---
 conf/modules.d/rbl.conf        |  2 ++
 conf/scores.d/surbl_group.conf | 12 ++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf
index 79dfc84ea..ef87c4c5a 100644
--- a/conf/modules.d/rbl.conf
+++ b/conf/modules.d/rbl.conf
@@ -212,8 +212,10 @@ rbl {
       returnbits = {
         CRACKED_SURBL = 128;
         ABUSE_SURBL = 64;
+        CT_SURBL = 32;
         MW_SURBL_MULTI = 16;
         PH_SURBL_MULTI = 8;
+        DM_SURBL = 4;
         SURBL_BLOCKED = 1;
       }
     }
diff --git a/conf/scores.d/surbl_group.conf b/conf/scores.d/surbl_group.conf
index 25e8ed7e2..89579ca15 100644
--- a/conf/scores.d/surbl_group.conf
+++ b/conf/scores.d/surbl_group.conf
@@ -50,6 +50,18 @@ symbols = {
         one_shot = true;
         groups = ["surblorg"];
     }
+    "CT_SURBL" {
+        weight = 0.0;
+        description = "A domain in the message is listed in SURBL as a clicktracker";
+        one_shot = true;
+        groups = ["surblorg"];
+    }
+    "DM_SURBL" {
+        weight = 0.0;
+        description = "A domain in the message is listed in SURBL as belonging to a disposable email service";
+        one_shot = true;
+        groups = ["surblorg"];
+    }
 
     "RSPAMD_URIBL" {
         weight = 4.5;


More information about the Commits mailing list