summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-11 17:33:03 +0100
committerGitHub <noreply@github.com>2018-06-11 17:33:03 +0100
commit1aef6bbce250d14411702b0104975db1bd454167 (patch)
tree923a2480b412f26e55c74877a00d9cbb754bcf96 /src
parent15a5ad7fa3b877472b5ee7e14883623763eb2bed (diff)
parent6a69ef19c53a03ae4b8e188d7f93ef6d1178ef10 (diff)
downloadrspamd-1aef6bbce250d14411702b0104975db1bd454167.tar.gz
rspamd-1aef6bbce250d14411702b0104975db1bd454167.zip
Merge pull request #2283 from andy-igoshin/master
[Fix] Fix for CommuniGate Pro maillist
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/maillist.lua2
1 files changed, 1 insertions, 1 deletions
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