aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Igoshin <ai@vsu.ru>2018-06-11 16:38:22 +0300
committerAndrey Igoshin <ai@vsu.ru>2018-06-11 16:38:22 +0300
commit6a69ef19c53a03ae4b8e188d7f93ef6d1178ef10 (patch)
tree33139211fedcb89126b8eb4999b10481639ee6b4
parent0e654a69f908ae3abe19663dc192f1dbc45d8ed0 (diff)
downloadrspamd-6a69ef19c53a03ae4b8e188d7f93ef6d1178ef10.tar.gz
rspamd-6a69ef19c53a03ae4b8e188d7f93ef6d1178ef10.zip
[Fix] Fix for CommuniGate Pro maillist
-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