opendkim/final.lua: also strip Authentication-Results Header

This commit is contained in:
j4n
2026-01-05 16:15:15 +01:00
parent 3ef307611f
commit 189275a2b9

View File

@@ -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.