commit 7a1a11c: improve descriptions for HAS_X_PRIO_* rules

heraklit256 heraklit256 at users.noreply.github.com
Tue Apr 16 11:14:12 UTC 2019


Author: heraklit256
Date: 2019-03-05 17:27:11 +0100
URL: https://github.com/rspamd/rspamd/commit/7a1a11ccc53358fce6ffc84e74a864245eb94c95 (refs/pull/2850/head)

improve descriptions for HAS_X_PRIO_* rules

---
 rules/headers_checks.lua | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua
index 4ec7996f1..279a51899 100644
--- a/rules/headers_checks.lua
+++ b/rules/headers_checks.lua
@@ -144,7 +144,7 @@ rspamd_config:register_symbol{
   score = 0.0,
   parent = prio_cb_id,
   type = 'virtual',
-  description = 'Priority 0',
+  description = 'Message has X-Priority header set to 0',
   group = 'headers',
 }
 rspamd_config:register_symbol{
@@ -152,7 +152,7 @@ rspamd_config:register_symbol{
   score = 0.0,
   parent = prio_cb_id,
   type = 'virtual',
-  description = 'Priority 1',
+  description = 'Message has X-Priority header set to 1',
   group = 'headers',
 }
 rspamd_config:register_symbol{
@@ -160,7 +160,7 @@ rspamd_config:register_symbol{
   score = 0.0,
   parent = prio_cb_id,
   type = 'virtual',
-  description = 'Priority 2',
+  description = 'Message has X-Priority header set to 2',
   group = 'headers',
 }
 rspamd_config:register_symbol{
@@ -168,7 +168,7 @@ rspamd_config:register_symbol{
   score = 0.0,
   parent = prio_cb_id,
   type = 'virtual',
-  description = 'Priority 3-4',
+  description = 'Message has X-Priority header set to 3 or 4',
   group = 'headers',
 }
 rspamd_config:register_symbol{
@@ -176,7 +176,7 @@ rspamd_config:register_symbol{
   score = 0.0,
   parent = prio_cb_id,
   type = 'virtual',
-  description = 'Priority 5+',
+  description = 'Message has X-Priority header set to 5 or higher',
   group = 'headers',
 }
 


More information about the Commits mailing list