]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Add EBL to the default config 1769/head
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 19 Jul 2017 07:41:23 +0000 (08:41 +0100)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 26 Jul 2017 20:27:29 +0000 (22:27 +0200)
conf/metrics.conf
conf/modules.d/emails.conf

index 431693399df289343f7cda7121b032a7f42ab965..9c0f53d7598e45f4692b7d7d4785f80f637cc4ee 100644 (file)
@@ -310,6 +310,12 @@ metric {
             one_shot = true;
         }
 
+        symbol "MSBL_EBL" {
+            weight = 7.5;
+            description = "MSBL emailbl";
+            one_shot = true;
+        }
+
         symbol "SEM_URIBL_UNKNOWN" {
             weight = 0.0;
             description = "Spameatingmonkey uribl: unknown result";
index eb1c69230a91a0f0a8d4772a34f776f31ba0a941..8a458e6a2078d9d9e6b08248b772dad925351029 100644 (file)
@@ -20,8 +20,16 @@ emails {
             encoding = "base32";
             hashlen = 32;
             dnsbl = "email.rspamd.com";
+            check_replyto = true;
             hash = "blake2";
         }
+        MSBL_EBL {
+            dnsbl = "ebl.msbl.org";
+            domain_only = false;
+            check_replyto = true;
+            hash = "sha1";
+            expect_ip = "127.0.0.2";
+        }
     }
     .include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"
     .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf"