]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add max scores for some groups
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 23 Mar 2022 20:18:52 +0000 (20:18 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 23 Mar 2022 20:18:52 +0000 (20:18 +0000)
conf/scores.d/headers_group.conf
conf/scores.d/mime_types_group.conf

index 83048ea28606f25ed357ed93d3fa81d4a621a9b6..56a8f7f3d6ce161f5ecb56282d647387bd1e5091 100644 (file)
@@ -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" {
index 4e95f68351aa19900bf00f162444723be6ad1c4a..2453ba6f73630588b5cd07b6e16d133fdb8d7d2c 100644 (file)
@@ -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" {