diff options
author | Kako, Chang <49464540+kakochang@users.noreply.github.com> | 2023-01-12 14:12:01 +0800 |
---|---|---|
committer | Kako, Chang <49464540+kakochang@users.noreply.github.com> | 2023-01-12 14:12:01 +0800 |
commit | 6d5db1e04e28e255356ad206adac4948b5092c1b (patch) | |
tree | ce342b556987f98898d17b03fa52e118cdc85dfa /rules/headers_checks.lua | |
parent | d784fa6f3deb8afbbab7c52d6ef891c45cd2c16b (diff) | |
download | rspamd-6d5db1e04e28e255356ad206adac4948b5092c1b.tar.gz rspamd-6d5db1e04e28e255356ad206adac4948b5092c1b.zip |
[Fix] received: filtering of artificial header
Diffstat (limited to 'rules/headers_checks.lua')
-rw-r--r-- | rules/headers_checks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index d88847003..7a02bc2eb 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -42,7 +42,7 @@ local rcvd_cb_id = rspamd_config:register_symbol{ local nreceived = fun.reduce(function(acc, rcvd) return acc + 1 end, 0, fun.filter(function(h) - return not h['artificial'] + return not h['flags']['artificial'] end, received)) for k,v in pairs(cnts) do |