From a651be3ffba658698c1e2e9e086b4cad2fffc10c Mon Sep 17 00:00:00 2001 From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:57:27 +0000 Subject: [PATCH] [Minor] Unify configuration file structure --- conf/scores.d/headers_group.conf | 1 + conf/scores.d/mime_types_group.conf | 5 ++--- conf/scores.d/subject_group.conf | 4 ++-- 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 -- 2.39.5