]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Re-add rambler email bl (as hashed list)
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 7 Jul 2017 18:40:15 +0000 (19:40 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 7 Jul 2017 18:40:15 +0000 (19:40 +0100)
conf/metrics.conf
conf/modules.d/emails.conf

index 2bdb651b6db5c895fa59d3d533643483ba1c9fa9..431693399df289343f7cda7121b032a7f42ab965 100644 (file)
@@ -300,7 +300,13 @@ metric {
         }
         symbol "RAMBLER_URIBL" {
             weight = 4.5;
-            description = "rambler.ru uribl";
+            description = "Rambler uribl";
+            one_shot = true;
+        }
+
+        symbol "RAMBLER_EMAILBL" {
+            weight = 9.5;
+            description = "Rambler emailbl";
             one_shot = true;
         }
 
index 315643241ca902ed2dc12a4b8541f4f72088791d..0bbf4356e05750895b5b8f4f53ef635a036d2754 100644 (file)
 # See https://rspamd.com/doc/tutorials/writing_rules.html for details
 
 emails {
+    rules
+        RAMBLER_EMAILBL {
+            delimiter = ".";
+            encoding = "base32";
+            hashlen = 32;
+            dnsbl = "email.rspamd.com";
+            hash = "blake2";
+        }
+    }
     .include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"
     .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf"
     .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/emails.conf"