]> source.dussan.org Git - rspamd.git/commitdiff
[Feature] Add EBL to the default config
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 19 Jul 2017 07:41:23 +0000 (08:41 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 19 Jul 2017 07:41:23 +0000 (08:41 +0100)
conf/metrics.conf
conf/modules.d/emails.conf

index d51433bb23ea5a0c4a5c5f57cf03bd3d59b6f4e0..d2b3487434df0ffb5c6aac1b1a12af6755c831d4 100644 (file)
@@ -309,6 +309,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"