aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-15 18:10:23 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-15 18:10:23 +0100
commitb77b28a818ae9ce1938b6050ac54d31f64c24519 (patch)
tree194b632d2b6849b59cd1c60a1208183279d92134
parent8beed56835f1a1dd5f31cfa03164ceb5ce59b859 (diff)
downloadrspamd-b77b28a818ae9ce1938b6050ac54d31f64c24519.tar.gz
rspamd-b77b28a818ae9ce1938b6050ac54d31f64c24519.zip
Add default dmarc configuration.
-rw-r--r--conf/metrics.conf25
-rw-r--r--conf/modules.d/dmarc.conf3
2 files changed, 28 insertions, 0 deletions
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 823225937..52a540ef0 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -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
index 000000000..d53d852be
--- /dev/null
+++ b/conf/modules.d/dmarc.conf
@@ -0,0 +1,3 @@
+phishing {
+ .include(try=true,priority=1) "${DBDIR}/dynamic/dmarc.conf"
+} \ No newline at end of file