aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 14:24:32 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-05-15 14:24:32 +0100
commit5b365914e792e7aa76aeeaf9198352636154cfd0 (patch)
treed41737215dff952531c808e6f7bf77855dfe288d /conf
parentf57c6e2c50e05aebbc9020fc9fe58b647b15b9dd (diff)
downloadrspamd-5b365914e792e7aa76aeeaf9198352636154cfd0.tar.gz
rspamd-5b365914e792e7aa76aeeaf9198352636154cfd0.zip
[Conf] Add additional groups for policies
Diffstat (limited to 'conf')
-rw-r--r--conf/scores.d/policies_group.conf28
1 files changed, 23 insertions, 5 deletions
diff --git a/conf/scores.d/policies_group.conf b/conf/scores.d/policies_group.conf
index 9885a5efa..b7ca9f6f6 100644
--- a/conf/scores.d/policies_group.conf
+++ b/conf/scores.d/policies_group.conf
@@ -20,22 +20,27 @@ symbols = {
"R_SPF_FAIL" {
weight = 1.0;
description = "SPF verification failed";
+ groups = ["spf"];
}
"R_SPF_SOFTFAIL" {
weight = 0.0;
description = "SPF verification soft-failed";
+ groups = ["spf"];
}
"R_SPF_NEUTRAL" {
weight = 0.0;
description = "SPF policy is neutral";
+ groups = ["spf"];
}
"R_SPF_ALLOW" {
weight = -0.2;
description = "SPF verification allows sending";
+ groups = ["spf"];
}
"R_SPF_DNSFAIL" {
weight = 0.0;
description = "SPF DNS failure";
+ groups = ["spf"];
}
# DKIM
@@ -43,62 +48,75 @@ symbols = {
weight = 1.0;
description = "DKIM verification failed";
one_shot = true;
+ groups = ["dkim"];
}
"R_DKIM_TEMPFAIL" {
weight = 0.0;
description = "DKIM verification soft-failed";
+ groups = ["dkim"];
}
"R_DKIM_ALLOW" {
weight = -0.2;
description = "DKIM verification succeed";
one_shot = true;
+ groups = ["dkim"];
}
# DMARC
"DMARC_POLICY_ALLOW" {
weight = -0.5;
description = "DMARC permit policy";
+ groups = ["dmarc"];
}
"DMARC_POLICY_ALLOW_WITH_FAILURES" {
weight = -0.5;
description = "DMARC permit policy with DKIM/SPF failure";
+ groups = ["dmarc"];
}
"DMARC_POLICY_REJECT" {
weight = 2.0;
description = "DMARC reject policy";
+ groups = ["dmarc"];
}
"DMARC_POLICY_QUARANTINE" {
weight = 1.5;
description = "DMARC quarantine policy";
+ groups = ["dmarc"];
}
"DMARC_POLICY_SOFTFAIL" {
weight = 0.1;
description = "DMARC failed";
+ groups = ["dmarc"];
}
# ARC
"ARC_ALLOW" {
weight = -1.0;
- description = "ARC checks success"
+ description = "ARC checks success";
+ groups = ["arc"];
}
"ARC_REJECT" {
weight = 2.0;
- description = "ARC checks success"
+ description = "ARC checks success";
+ groups = ["arc"];
}
"ARC_INVALID" {
weight = 1.0;
- description = "ARC structure invalid"
+ description = "ARC structure invalid";
+ groups = ["arc"];
}
"ARC_DNSFAIL" {
weight = 0.0;
- description = "ARC DNS error"
+ description = "ARC DNS error";
+ groups = ["arc"];
}
"ARC_NA" {
weight = 0.0;
- description = "ARC signature absent"
+ description = "ARC signature absent";
+ groups = ["arc"];
}
} \ No newline at end of file