From 6a69ef19c53a03ae4b8e188d7f93ef6d1178ef10 Mon Sep 17 00:00:00 2001 From: Andrey Igoshin Date: Mon, 11 Jun 2018 16:38:22 +0300 Subject: [PATCH] [Fix] Fix for CommuniGate Pro maillist --- src/plugins/lua/maillist.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/maillist.lua b/src/plugins/lua/maillist.lua index 62ecc0341..2ec0c4255 100644 --- a/src/plugins/lua/maillist.lua +++ b/src/plugins/lua/maillist.lua @@ -221,7 +221,7 @@ end local function check_ml_cgp(task) local header = task:get_header('X-Listserver') - if not header or header ~= 'CommuniGate Pro LIST' then + if not header or string.sub(header, 0, 20) ~= 'CommuniGate Pro LIST' then return false end -- 2.39.5