commit 7d63c8b: [Minor] Improve readability of RBL module configuration file

twesterhever 40121680+twesterhever at users.noreply.github.com
Fri Feb 17 21:56:15 UTC 2023


Author: twesterhever
Date: 2023-02-17 15:02:10 +0000
URL: https://github.com/rspamd/rspamd/commit/7d63c8b3cb929a5e11a6068dcc70b64e6559663f

[Minor] Improve readability of RBL module configuration file

---
 conf/modules.d/rbl.conf | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/conf/modules.d/rbl.conf b/conf/modules.d/rbl.conf
index cce48324d..e3ece5a66 100644
--- a/conf/modules.d/rbl.conf
+++ b/conf/modules.d/rbl.conf
@@ -46,8 +46,7 @@ rbl {
       returncodes {
         SPAMHAUS_SBL = "127.0.0.2";
         SPAMHAUS_CSS = "127.0.0.3";
-        SPAMHAUS_XBL = ["127.0.0.4", "127.0.0.5",
-            "127.0.0.6", "127.0.0.7"];
+        SPAMHAUS_XBL = ["127.0.0.4", "127.0.0.5", "127.0.0.6", "127.0.0.7"];
         SPAMHAUS_PBL = ["127.0.0.10", "127.0.0.11"];
         SPAMHAUS_DROP = "127.0.0.9";
         SPAMHAUS_BLOCKED_OPENRESOLVER = "127.255.255.254";
@@ -178,6 +177,7 @@ rbl {
         RSPAMD_EMAILBL = "127.0.0.2";
       }
     }
+
     MSBL_EBL {
       ignore_whitelist = true;
       ignore_defaults = true;
@@ -197,7 +197,7 @@ rbl {
         ];
       }
     }
-    # Old SURBL module
+
     "SURBL_MULTI" {
       ignore_defaults = true;
       rbl = "multi.surbl.org";
@@ -206,7 +206,7 @@ rbl {
       exclude_users = false;
 
       returnbits = {
-        CRACKED_SURBL = 128; # From February 2016
+        CRACKED_SURBL = 128;
         ABUSE_SURBL = 64;
         MW_SURBL_MULTI = 16;
         PH_SURBL_MULTI = 8;
@@ -334,7 +334,6 @@ rbl {
         SEM_URIBL_FRESH15 = 2;
       }
     }
-
   }
 
   .include(try=true,priority=5) "${DBDIR}/dynamic/rbl.conf"


More information about the Commits mailing list