commit f3bddfe: [Minor] Add descriptions to the groups
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Aug 12 12:56:08 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-08-12 13:52:01 +0100
URL: https://github.com/rspamd/rspamd/commit/f3bddfea281147dab005940558a61a4c23f259ba (HEAD -> master)
[Minor] Add descriptions to the groups
---
conf/scores.d/fuzzy_group.conf | 2 ++
conf/scores.d/headers_group.conf | 2 ++
conf/scores.d/hfilter_group.conf | 2 ++
conf/scores.d/mime_types_group.conf | 2 ++
conf/scores.d/mua_group.conf | 1 +
conf/scores.d/phishing_group.conf | 2 ++
conf/scores.d/policies_group.conf | 2 ++
conf/scores.d/rbl_group.conf | 2 ++
conf/scores.d/statistics_group.conf | 2 ++
conf/scores.d/subject_group.conf | 2 ++
conf/scores.d/surbl_group.conf | 1 +
conf/scores.d/whitelist_group.conf | 1 +
12 files changed, 21 insertions(+)
diff --git a/conf/scores.d/fuzzy_group.conf b/conf/scores.d/fuzzy_group.conf
index fad2a370c..bc2f9498a 100644
--- a/conf/scores.d/fuzzy_group.conf
+++ b/conf/scores.d/fuzzy_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Fuzzy hashes group";
+
symbols = {
"FUZZY_UNKNOWN" {
weight = 5.0;
diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf
index 8a6ebef09..ac7d05da3 100644
--- a/conf/scores.d/headers_group.conf
+++ b/conf/scores.d/headers_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Various headers checks";
+
symbols = {
"FORGED_SENDER" {
weight = 0.3;
diff --git a/conf/scores.d/hfilter_group.conf b/conf/scores.d/hfilter_group.conf
index de446deeb..09fcfcd8d 100644
--- a/conf/scores.d/hfilter_group.conf
+++ b/conf/scores.d/hfilter_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "SMTP envelope filter";
+
symbols = {
"HFILTER_HELO_BAREIP" {
weight = 3.0;
diff --git a/conf/scores.d/mime_types_group.conf b/conf/scores.d/mime_types_group.conf
index 7a2847b1e..3a13cde79 100644
--- a/conf/scores.d/mime_types_group.conf
+++ b/conf/scores.d/mime_types_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Mime attachments rules";
+
symbols = {
"MIME_GOOD" {
weight = -0.1;
diff --git a/conf/scores.d/mua_group.conf b/conf/scores.d/mua_group.conf
index b912a854a..18ca0131e 100644
--- a/conf/scores.d/mua_group.conf
+++ b/conf/scores.d/mua_group.conf
@@ -15,6 +15,7 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "MUA forgeries";
symbols = {
"FORGED_MUA_MAILLIST" {
diff --git a/conf/scores.d/phishing_group.conf b/conf/scores.d/phishing_group.conf
index e3e4a5590..c1e9255e4 100644
--- a/conf/scores.d/phishing_group.conf
+++ b/conf/scores.d/phishing_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Phishing in emails";
+
max_score = 10.0;
symbols = {
diff --git a/conf/scores.d/policies_group.conf b/conf/scores.d/policies_group.conf
index e432053ec..cecb24219 100644
--- a/conf/scores.d/policies_group.conf
+++ b/conf/scores.d/policies_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "SPF, DKIM, DMARC, ARC";
+
symbols = {
# SPF
"R_SPF_FAIL" {
diff --git a/conf/scores.d/rbl_group.conf b/conf/scores.d/rbl_group.conf
index 39e77dc4a..c86dba867 100644
--- a/conf/scores.d/rbl_group.conf
+++ b/conf/scores.d/rbl_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "IP DNS lists";
+
symbols = {
"DNSWL_BLOCKED" {
diff --git a/conf/scores.d/statistics_group.conf b/conf/scores.d/statistics_group.conf
index d6cee8eb5..b46fa7adc 100644
--- a/conf/scores.d/statistics_group.conf
+++ b/conf/scores.d/statistics_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Statistical symbols";
+
symbols = {
"BAYES_SPAM" {
weight = 5.1;
diff --git a/conf/scores.d/subject_group.conf b/conf/scores.d/subject_group.conf
index d151e0401..3e47161a2 100644
--- a/conf/scores.d/subject_group.conf
+++ b/conf/scores.d/subject_group.conf
@@ -15,6 +15,8 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "Subject filters";
+
symbols = {
}
diff --git a/conf/scores.d/surbl_group.conf b/conf/scores.d/surbl_group.conf
index 4f27a3501..271f911c5 100644
--- a/conf/scores.d/surbl_group.conf
+++ b/conf/scores.d/surbl_group.conf
@@ -15,6 +15,7 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "URL DNS lists";
max_score = 12.5;
diff --git a/conf/scores.d/whitelist_group.conf b/conf/scores.d/whitelist_group.conf
index 900aa3680..7bce63691 100644
--- a/conf/scores.d/whitelist_group.conf
+++ b/conf/scores.d/whitelist_group.conf
@@ -15,6 +15,7 @@
#
# See https://rspamd.com/doc/tutorials/writing_rules.html for details
+description = "White lists group";
max_score = 10.0;
More information about the Commits
mailing list