From 5ae23df13912d102cdd260574fe87f52b645a68d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 3 Jun 2023 21:02:27 +0100 Subject: [PATCH] Apply suggestions from code review --- rules/html.lua | 2 +- rules/misc.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/html.lua b/rules/html.lua index 100e3a160..df42f2f0e 100644 --- a/rules/html.lua +++ b/rules/html.lua @@ -395,7 +395,7 @@ rspamd_config.HTTP_TO_HTTPS = { end return false end, - description = 'HTML anchor text contains different scheme to target URL', + description = 'The anchor text contains a distinct scheme compared to the target URL', score = 0.5, group = 'html' } diff --git a/rules/misc.lua b/rules/misc.lua index c8a83a6f9..b27a1bc53 100644 --- a/rules/misc.lua +++ b/rules/misc.lua @@ -148,7 +148,7 @@ local obscured_id = rspamd_config:register_symbol{ name = 'R_SUSPICIOUS_URL', score = 5.0, one_shot = true, - description = 'Has obfuscated or suspicious URL', + description = 'A message has been identified to contain an obfuscated or suspicious URL', group = 'url' } @@ -382,7 +382,7 @@ end rspamd_config:register_symbol({ name = 'FREEMAIL_REPLYTO_NEQ_FROM_DOM', callback = freemail_reply_neq_from, - description = 'Freemail addresses in From and Reply-To headers, but to different freemail services', + description = 'The From and Reply-To addresses in the email are from different freemail services', score = 3.0, group = 'headers', }) -- 2.39.5