From b77b28a818ae9ce1938b6050ac54d31f64c24519 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 15 Sep 2015 18:10:23 +0100 Subject: [PATCH] Add default dmarc configuration. --- conf/metrics.conf | 25 +++++++++++++++++++++++++ conf/modules.d/dmarc.conf | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 conf/modules.d/dmarc.conf 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 -- 2.47.3