]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Maillist: Relax rules for subscribe/unsubscribe slightly
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 20 May 2022 21:02:49 +0000 (22:02 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 20 May 2022 21:02:49 +0000 (22:02 +0100)
src/plugins/lua/maillist.lua

index c639dc2dc17e5b9738fbbb92f99de15520b01d98..78642c4aa11cc939684851466f3b4cbe7d188fbb 100644 (file)
@@ -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)