commit dd8e32f: [Conf] Add missing symbols

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Jun 12 12:56:07 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-06-12 13:51:07 +0100
URL: https://github.com/rspamd/rspamd/commit/dd8e32fdabe01b7d0b4ba60cd306d54d021f59ce (HEAD -> master)

[Conf] Add missing symbols

---
 conf/scores.d/headers_group.conf  |  4 ++++
 conf/scores.d/policies_group.conf | 17 +++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/conf/scores.d/headers_group.conf b/conf/scores.d/headers_group.conf
index ac7d05da3..c82c3a752 100644
--- a/conf/scores.d/headers_group.conf
+++ b/conf/scores.d/headers_group.conf
@@ -60,6 +60,10 @@ symbols = {
         weight = 4.0;
         description = "One received header with 'bad' patterns inside";
     }
+    "DIRECT_TO_MX" {
+        weight = 0.0;
+        description = "Message has been directly delivered from MUA to local MX";
+    }
     "MAILLIST" {
         weight = -0.2;
         description = "Message seems to be from maillist";
diff --git a/conf/scores.d/policies_group.conf b/conf/scores.d/policies_group.conf
index cecb24219..0d5942746 100644
--- a/conf/scores.d/policies_group.conf
+++ b/conf/scores.d/policies_group.conf
@@ -44,6 +44,12 @@ symbols = {
         description = "SPF DNS failure";
         groups = ["spf"];
     }
+    "R_SPG_NA" {
+        weight = 0.0;
+        description = "Missing SPF record";
+        one_shot = true;
+        groups = ["spf"];
+    }
 
     # DKIM
     "R_DKIM_REJECT" {
@@ -63,6 +69,12 @@ symbols = {
         one_shot = true;
         groups = ["dkim"];
     }
+    "R_DKIM_NA" {
+        weight = 0.0;
+        description = "Missing DKIM signature";
+        one_shot = true;
+        groups = ["dkim"];
+    }
 
     # DMARC
     "DMARC_POLICY_ALLOW" {
@@ -90,6 +102,11 @@ symbols = {
         description = "DMARC failed";
         groups = ["dmarc"];
     }
+    "DMARC_NA" {
+        weight = 0.0;
+        description = "No DMARC record";
+        groups = ["dmarc"];
+     }
 
     # ARC
     "ARC_ALLOW" {


More information about the Commits mailing list