]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Unify configuration file structure
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 17 Feb 2023 14:57:27 +0000 (14:57 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 17 Feb 2023 14:57:27 +0000 (14:57 +0000)
conf/scores.d/headers_group.conf
conf/scores.d/mime_types_group.conf
conf/scores.d/subject_group.conf

index 56a8f7f3d6ce161f5ecb56282d647387bd1e5091..c9b078c5ac42b3687519d950da238498599a52fe 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 = {
index 2453ba6f73630588b5cd07b6e16d133fdb8d7d2c..268709ee91c6b2dd200d41e49c3bd69593501614 100644 (file)
@@ -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
+}
index 3e47161a29f8ff9298d4cc512d971e0342e87454..1cc2e0c4d233a9ff7758d60b203270348dbc4022 100644 (file)
@@ -17,7 +17,7 @@
 
 description = "Subject filters";
 
+max_score = 6.0;
+
 symbols = {
 }
-
-max_score = 6.0;
\ No newline at end of file