aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/milter_headers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua
index b65954025..d8240c16c 100644
--- a/src/plugins/lua/milter_headers.lua
+++ b/src/plugins/lua/milter_headers.lua
@@ -503,7 +503,9 @@ local function milter_headers(task)
settings.routines['authentication-results'].remove
end
- local res = ar.gen_auth_results(task, nil)
+ local res = ar.gen_auth_results(task,
+ lua_util.override_defaults(ar.default_settings,
+ settings.routines['authentication-results']))
if res then
add_header('authentication-results', res, ';', 1)