commit 9ca8fad: [Minor] Maillist: Relax rules for subscribe/unsubscribe slightly
Vsevolod Stakhov
vsevolod at rspamd.com
Fri May 20 21:21:03 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-05-20 22:02:49 +0100
URL: https://github.com/rspamd/rspamd/commit/9ca8fad8ab7698bfc2fb2c000586351e5cc5806c
[Minor] Maillist: Relax rules for subscribe/unsubscribe slightly
---
src/plugins/lua/maillist.lua | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua
index c639dc2dc..78642c4aa 100644
--- a/src/plugins/lua/maillist.lua
+++ b/src/plugins/lua/maillist.lua
@@ -231,10 +231,6 @@ local function check_generic_list_headers(task)
if has_subscribe and has_unsubscribe then
score = score + 0.25
- elseif (has_unsubscribe) then
- score = score - 0.25
- elseif (has_subscribe) then
- score = score - 0.75
end
lua_util.debugm(N, task, 'final maillist score %s', score)
More information about the Commits
mailing list