]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Add SARBL (sarbl.org) uribl
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 13 Aug 2016 18:20:34 +0000 (19:20 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 13 Aug 2016 18:20:34 +0000 (19:20 +0100)
conf/metrics.conf
conf/modules.d/surbl.conf

index 55249bdc7d58f512506b710e6f8323049bcd3adf..781034048d5977878b674132c02c02ff6f6a96f1 100644 (file)
@@ -837,6 +837,10 @@ metric {
             weight = 6.5;
             description = "Spamhaus SBL CSS URIBL";
         }
+        symbol "RBL_SARBL_BAD" {
+            weight = 2.5;
+            description = "A domain listed in the mail is blacklisted in SARBL";
+       }
     }
 
     group "phishing" {
index 68038ea64e612a5f511a478754a1a3cd79967826..cd5f49b25f8e869eb56146459c9ec6f676c189c9 100644 (file)
@@ -96,6 +96,13 @@ surbl {
         no_ip = true;
     }
 
+    rule {
+        symbol = "RBL_SARBL_BAD";
+        suffix = "public.sarbl.org";
+        noip   = true;
+        images = true;
+    }
+
     .include(try=true,priority=5) "${DBDIR}/dynamic/surbl.conf"
     .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/surbl.conf"
     .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/surbl.conf"