From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Fri, 17 Feb 2023 14:57:27 +0000 (+0000) Subject: [Minor] Unify configuration file structure X-Git-Tag: 3.5~47^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a651be3ffba658698c1e2e9e086b4cad2fffc10c;p=thirdparty%2Frspamd.git [Minor] Unify configuration file structure --- diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf index 56a8f7f3d6..c9b078c5ac 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 2453ba6f73..268709ee91 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 3e47161a29..1cc2e0c4d2 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