aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-09-19 16:56:16 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-09-19 20:59:25 +0200
commitb0e378af1d574d2745e676acdb2cf180a7338886 (patch)
tree37ece6ccf1d806c8f52cba7895e594c5f6153c6d /conf
parent4a09a0c772b6f73dda7c44d637771fd2596f1acc (diff)
downloadrspamd-b0e378af1d574d2745e676acdb2cf180a7338886.tar.gz
rspamd-b0e378af1d574d2745e676acdb2cf180a7338886.zip
[Feature] Add R_DKIM_PERMFAIL symbol
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;