aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/composites.conf5
-rw-r--r--conf/metrics.conf1
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/composites.conf b/conf/composites.conf
index b64201494..40b495918 100644
--- a/conf/composites.conf
+++ b/conf/composites.conf
@@ -47,6 +47,11 @@ composite "AUTH_NA" {
score = 1.0;
policy = "remove_weight";
}
+composite {
+ name = "DKIM_MIXED";
+ expression = "-R_DKIM_ALLOW & (R_DKIM_DNSFAIL | R_DKIM_PERMFAIL | R_DKIM_REJECT)"
+ policy = "remove_weight";
+}
.include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"
diff --git a/conf/metrics.conf b/conf/metrics.conf
index 7ece1c542..8d228a5ba 100644
--- a/conf/metrics.conf
+++ b/conf/metrics.conf
@@ -327,6 +327,7 @@ metric {
symbol "R_DKIM_REJECT" {
weight = 1.0;
description = "DKIM verification failed";
+ one_shot = true;
}
symbol "R_DKIM_TEMPFAIL" {
weight = 0.0;