mirror of
https://github.com/chatmail/relay.git
synced 2026-05-15 10:24:40 +00:00
opendkim/final.lua: also strip Authentication-Results Header
This commit is contained in:
@@ -34,6 +34,9 @@ if valid then
|
||||
for i = nsigs, 1, -1 do
|
||||
odkim.del_header(ctx, "DKIM-Signature", i)
|
||||
end
|
||||
|
||||
-- Delete first and presumably only occurence
|
||||
odkim.del_header(ctx, "Authentication-Results", 0)
|
||||
else
|
||||
odkim.set_reply(ctx, "554", "5.7.1", "No valid DKIM signature found")
|
||||
-- Delete in reverse order to avoid index shifting.
|
||||
|
||||
Reference in New Issue
Block a user