summaryrefslogtreecommitdiffstats
path: root/conf/scores.d
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-23 20:18:52 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-23 20:18:52 +0000
commit182e382558783e2eddd7980852b03e0d7b32a65f (patch)
treeff79c92d07ed71605750ee41694257d457370e97 /conf/scores.d
parent4c8b978e0bb1affdaa7739a1c3c79afbaf91c6e2 (diff)
downloadrspamd-182e382558783e2eddd7980852b03e0d7b32a65f.tar.gz
rspamd-182e382558783e2eddd7980852b03e0d7b32a65f.zip
[Minor] Add max scores for some groups
Diffstat (limited to 'conf/scores.d')
-rw-r--r--conf/scores.d/headers_group.conf1
-rw-r--r--conf/scores.d/mime_types_group.conf3
2 files changed, 4 insertions, 0 deletions
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" {