From 5d70e9fae9341ab6f38f93d4bf6a403e82022488 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 23 Apr 2021 20:19:05 +0100 Subject: [Minor] Milter_headers: Use specific settings Issue: #3728 --- src/plugins/lua/milter_headers.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3