From: Vsevolod Stakhov Date: Tue, 15 Sep 2015 17:10:23 +0000 (+0100) Subject: Add default dmarc configuration. X-Git-Tag: 1.0.0~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b77b28a818ae9ce1938b6050ac54d31f64c24519;p=thirdparty%2Frspamd.git Add default dmarc configuration. --- diff --git a/conf/metrics.conf b/conf/metrics.conf index 823225937f..52a540ef0e 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 0000000000..d53d852be5 --- /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