]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Handle DKIM permfail in Authentication-Results header 6028/head
authorVolodymyr Nekhayev <volodymyr.nekhayev@hostpapa.com>
Sat, 9 May 2026 03:58:29 +0000 (23:58 -0400)
committerVolodymyr Nekhayev <volodymyr.nekhayev@hostpapa.com>
Sat, 9 May 2026 03:58:29 +0000 (23:58 -0400)
commit532dc226c6b108a6d36a565b55cbcbf401f56dd8
treebf346678c7b17382552721dcafa17d4d4d993e15
parente3bc0888c13d39f7fe7ede2014cab48083a27e0f
[Fix] Handle DKIM permfail in Authentication-Results header

When a DKIM signature has an invalid record, task:get_dkim_results() returns
'permfail' which should map to dkim=permerror in the Authentication-Results
header. Previously this result fell through to dkim=none, which is incorrect
when a DKIM signature is present.

Fixes #5957
lualib/lua_auth_results.lua