aboutsummaryrefslogtreecommitdiffstats
path: root/conf/scores.d
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2023-02-17 14:57:27 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2023-02-17 14:57:27 +0000
commita651be3ffba658698c1e2e9e086b4cad2fffc10c (patch)
treeaba1fccf47bfe57f98f3bae87ae4006a3267b012 /conf/scores.d
parent6c96b48c230ac90bca27f7670cabb9a9a6b89bc1 (diff)
downloadrspamd-a651be3ffba658698c1e2e9e086b4cad2fffc10c.tar.gz
rspamd-a651be3ffba658698c1e2e9e086b4cad2fffc10c.zip
[Minor] Unify configuration file structure
Diffstat (limited to 'conf/scores.d')
-rw-r--r--conf/scores.d/headers_group.conf1
-rw-r--r--conf/scores.d/mime_types_group.conf5
-rw-r--r--conf/scores.d/subject_group.conf4
3 files changed, 5 insertions, 5 deletions
diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf
index 56a8f7f3d..c9b078c5a 100644
--- a/conf/scores.d/headers_group.conf
+++ b/conf/scores.d/headers_group.conf
@@ -16,6 +16,7 @@
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
description = "Various headers checks";
+
max_score = 8.0;
symbols = {
diff --git a/conf/scores.d/mime_types_group.conf b/conf/scores.d/mime_types_group.conf
index 2453ba6f7..268709ee9 100644
--- a/conf/scores.d/mime_types_group.conf
+++ b/conf/scores.d/mime_types_group.conf
@@ -16,9 +16,8 @@
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
description = "Mime attachments rules";
-# Define some limit for this group
-max_score = 10.0;
+max_score = 10.0;
symbols = {
"MIME_GOOD" {
@@ -76,4 +75,4 @@ symbols = {
description = "Filename with known obscured unicode characters";
one_shot = true;
}
-} \ No newline at end of file
+}
diff --git a/conf/scores.d/subject_group.conf b/conf/scores.d/subject_group.conf
index 3e47161a2..1cc2e0c4d 100644
--- a/conf/scores.d/subject_group.conf
+++ b/conf/scores.d/subject_group.conf
@@ -17,7 +17,7 @@
description = "Subject filters";
+max_score = 6.0;
+
symbols = {
}
-
-max_score = 6.0; \ No newline at end of file