]> source.dussan.org Git - rspamd.git/commitdiff
Assign weights to Mailspike Whitelists 4010/head
authorJean-Louis Dupond <jean-louis@dupond.be>
Thu, 16 Dec 2021 15:18:42 +0000 (16:18 +0100)
committerJean-Louis Dupond <jean-louis@dupond.be>
Fri, 17 Dec 2021 07:43:53 +0000 (08:43 +0100)
Assign a weight to the MAILSPIKE whitelist RBL symbols.
Use the same but negative weight as its blacklist counterparts.

Also fix some indents in the file

conf/scores.d/rbl_group.conf

index 690d0ee17f58141227f59fcbc4fc724d9cfa88c3..6b3f04de157d82760489206f681d9886bc144a13 100644 (file)
@@ -117,14 +117,14 @@ symbols = {
         groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_BLOCKED_OPENRESOLVER" {
-      weight = 0.0;
-      description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
-      groups = ["spamhaus"];
+        weight = 0.0;
+        description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
+        groups = ["spamhaus"];
     }
     "RBL_SPAMHAUS_BLOCKED" {
-      weight = 0.0;
-      description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
-      groups = ["spamhaus"];
+        weight = 0.0;
+        description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
+        groups = ["spamhaus"];
     }
     "RECEIVED_SPAMHAUS_SBL" {
         weight = 1.0;
@@ -157,14 +157,14 @@ symbols = {
         one_shot = true;
     }
     "RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER" {
-      weight = 0.0;
-      description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
-      groups = ["spamhaus"];
+        weight = 0.0;
+        description = "You are querying Spamhaus from an open resolver, please see https://www.spamhaus.org/returnc/pub/";
+        groups = ["spamhaus"];
     }
     "RECEIVED_SPAMHAUS_BLOCKED" {
-      weight = 0.0;
-      description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
-      groups = ["spamhaus"];
+        weight = 0.0;
+        description = "You are exceeding the query limit, please see https://www.spamhaus.org/returnc/vol/";
+        groups = ["spamhaus"];
     }
 
     "RBL_SENDERSCORE" {
@@ -202,17 +202,17 @@ symbols = {
         groups = ["mailspike"];
     }
     "RWL_MAILSPIKE_GOOD" {
-        weight = 0.0;
+        weight = -0.1;
         description = "From address is listed in RWL - good reputation";
         groups = ["mailspike"];
     }
     "RWL_MAILSPIKE_VERYGOOD" {
-        weight = 0.0;
+        weight = -0.2;
         description = "From address is listed in RWL - very good reputation";
         groups = ["mailspike"];
     }
     "RWL_MAILSPIKE_EXCELLENT" {
-        weight = 0.0;
+        weight = -0.4;
         description = "From address is listed in RWL - excellent reputation";
         groups = ["mailspike"];
     }