From: Andrey Igoshin Date: Mon, 11 Jun 2018 13:38:22 +0000 (+0300) Subject: [Fix] Fix for CommuniGate Pro maillist X-Git-Tag: 1.7.6~30^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2283%2Fhead;p=rspamd.git [Fix] Fix for CommuniGate Pro maillist --- 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