]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add default dmarc configuration.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Sep 2015 17:10:23 +0000 (18:10 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 15 Sep 2015 17:10:23 +0000 (18:10 +0100)
conf/metrics.conf
conf/modules.d/dmarc.conf [new file with mode: 0644]

index 823225937feed826adb74031610c6ca2e36861c3..52a540ef0ee934c91bc0d9c83af2f1841eff340f 100644 (file)
@@ -1134,4 +1134,29 @@ metric {
            description = "One line URL and text in body";
        }
     }
+
+    group {
+       name = "dmarc";
+
+       symbol {
+               weight = -1.0;
+               name = "DMARC_POLICY_ALLOW";
+               description = "DMARC permit policy";
+       }
+       symbol {
+               weight = 2.0;
+               name = "DMARC_POLICY_REJECT";
+               description = "DMARC reject policy";
+       }
+       symbol {
+               weight = 1.5;
+               name = "DMARC_POLICY_QUARANTINE";
+               description = "DMARC quarantine policy";
+       }
+       symbol {
+               weight = 0.1;
+               name = "DMARC_POLICY_SOFTFAIL";
+               description = "DMARC failed";
+       }
+    }
 }
diff --git a/conf/modules.d/dmarc.conf b/conf/modules.d/dmarc.conf
new file mode 100644 (file)
index 0000000..d53d852
--- /dev/null
@@ -0,0 +1,3 @@
+phishing {
+    .include(try=true,priority=1) "${DBDIR}/dynamic/dmarc.conf"
+}
\ No newline at end of file