aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/maillist.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-05-20 22:02:49 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-05-20 22:02:49 +0100
commit9ca8fad8ab7698bfc2fb2c000586351e5cc5806c (patch)
tree78284c47ec323d7f3ec57cd8a8a2f72a122a6287 /src/plugins/lua/maillist.lua
parent1a673e2fbe24882365ad15636283e19a404623d1 (diff)
downloadrspamd-9ca8fad8ab7698bfc2fb2c000586351e5cc5806c.tar.gz
rspamd-9ca8fad8ab7698bfc2fb2c000586351e5cc5806c.zip
[Minor] Maillist: Relax rules for subscribe/unsubscribe slightly
Diffstat (limited to 'src/plugins/lua/maillist.lua')
-rw-r--r--src/plugins/lua/maillist.lua4
1 files changed, 0 insertions, 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)