commit a651be3: [Minor] Unify configuration file structure
twesterhever
40121680+twesterhever at users.noreply.github.com
Fri Feb 17 21:56:13 UTC 2023
Author: twesterhever
Date: 2023-02-17 14:57:27 +0000
URL: https://github.com/rspamd/rspamd/commit/a651be3ffba658698c1e2e9e086b4cad2fffc10c
[Minor] Unify configuration file structure
---
conf/scores.d/headers_group.conf | 1 +
conf/scores.d/mime_types_group.conf | 5 ++---
conf/scores.d/subject_group.conf | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf
index 56a8f7f3d..c9b078c5a 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 2453ba6f7..268709ee9 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 3e47161a2..1cc2e0c4d 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
More information about the Commits
mailing list