diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-15 18:10:23 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-09-15 18:10:23 +0100 |
commit | b77b28a818ae9ce1938b6050ac54d31f64c24519 (patch) | |
tree | 194b632d2b6849b59cd1c60a1208183279d92134 | |
parent | 8beed56835f1a1dd5f31cfa03164ceb5ce59b859 (diff) | |
download | rspamd-b77b28a818ae9ce1938b6050ac54d31f64c24519.tar.gz rspamd-b77b28a818ae9ce1938b6050ac54d31f64c24519.zip |
Add default dmarc configuration.
-rw-r--r-- | conf/metrics.conf | 25 | ||||
-rw-r--r-- | conf/modules.d/dmarc.conf | 3 |
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 |