diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-06-03 21:02:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-03 21:02:27 +0100 |
commit | 5ae23df13912d102cdd260574fe87f52b645a68d (patch) | |
tree | ae87c94077610f49198e2745e210ad821f281734 /rules | |
parent | bc833035ffc8696aaed5f49693a414b9b4bfcc79 (diff) | |
download | rspamd-5ae23df13912d102cdd260574fe87f52b645a68d.tar.gz rspamd-5ae23df13912d102cdd260574fe87f52b645a68d.zip |
Apply suggestions from code review
Diffstat (limited to 'rules')
-rw-r--r-- | rules/html.lua | 2 | ||||
-rw-r--r-- | 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', }) |