diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-23 20:19:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-04-23 20:19:05 +0100 |
commit | 5d70e9fae9341ab6f38f93d4bf6a403e82022488 (patch) | |
tree | 3f9f4e28c6ec83b0d01eafac9aacc3ff1569e55f /src | |
parent | fd10be575bf4f9893b818ec7abecd1e5e9d46f3a (diff) | |
download | rspamd-5d70e9fae9341ab6f38f93d4bf6a403e82022488.tar.gz rspamd-5d70e9fae9341ab6f38f93d4bf6a403e82022488.zip |
[Minor] Milter_headers: Use specific settings
Issue: #3728
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/milter_headers.lua | 4 |
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) |