From 182e382558783e2eddd7980852b03e0d7b32a65f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 23 Mar 2022 20:18:52 +0000 Subject: [Minor] Add max scores for some groups --- conf/scores.d/headers_group.conf | 1 + conf/scores.d/mime_types_group.conf | 3 +++ 2 files changed, 4 insertions(+) (limited to 'conf/scores.d') diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf index 83048ea28..56a8f7f3d 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 = { "FORGED_SENDER" { diff --git a/conf/scores.d/mime_types_group.conf b/conf/scores.d/mime_types_group.conf index 4e95f6835..2453ba6f7 100644 --- a/conf/scores.d/mime_types_group.conf +++ b/conf/scores.d/mime_types_group.conf @@ -16,6 +16,9 @@ # 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; + symbols = { "MIME_GOOD" { -- cgit v1.2.3