From: Andrew Lewis Date: Tue, 12 Dec 2017 12:03:01 +0000 (+0200) Subject: [Fix] Multimap: received: filtering of artificial header X-Git-Tag: 1.6.6~3^2~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f22a7fac19d043414b97b22f9b6c6b99d05d0790;p=rspamd.git [Fix] Multimap: received: filtering of artificial header --- diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index edfe4c7f6..6d89f4e47 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -776,7 +776,7 @@ local function multimap_callback(task, rule) if hdrs and hdrs[1] then if not rule['artificial'] then hdrs = fun.filter(function(h) - return not h['artificial'] + return not h['flags']['artificial'] end, hdrs):totable() end for pos, h in ipairs(hdrs) do