Browse Source

[Rspamd] Add Interserver rules, THANK YOU!

andryyy 4 years ago
parent
commit
efd69f1c1c
2 changed files with 28 additions and 0 deletions
  1. 20 0
      data/conf/rspamd/local.d/rbl.conf
  2. 8 0
      data/conf/rspamd/local.d/rbl_group.conf

+ 20 - 0
data/conf/rspamd/local.d/rbl.conf

@@ -23,4 +23,24 @@ rbls {
       RBL_SORBS_ZOMBIE = "127.0.0.9"; 
     } 
   }
+  interserver_ip {
+    symbol = "RBL_INTERSERVER_IP";
+    rbl = "rbl.interserver.net";
+    returncodes {
+      RBL_INTERSERVER_BAD_IP = "127.0.0.2";
+    }
+  }
+  interserver_uri {
+    symbol = "RBL_INTERSERVER_URI";
+    rbl = "rbluri.interserver.net";
+    ignore_defaults = true;
+    no_ip = true;
+    dkim = true;
+    emails = true;
+    emails_domainonly = true;
+    urls = true;
+    returncodes = {
+      RBL_INTERSERVER_BAD_URI = "127.0.0.2";
+    }
+  }
 }

+ 8 - 0
data/conf/rspamd/local.d/rbl_group.conf

@@ -49,4 +49,12 @@ symbols = {
     weight = 0.0;
     description = "Received address is listed in ZEN XBL";
   }
+  "RBL_INTERSERVER_BAD_URI" {
+    score = 4.0;
+    description = "Listed on Interserver RBL";
+  }
+  "RBL_INTERSERVER_BAD_IP" {
+    score = 4.0;
+    description = "Listed on Interserver RBL";
+  }
 }