commit 5d70e9f: [Minor] Milter_headers: Use specific settings

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Apr 23 19:21:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-04-23 20:19:05 +0100
URL: https://github.com/rspamd/rspamd/commit/5d70e9fae9341ab6f38f93d4bf6a403e82022488 (HEAD -> master)

[Minor] Milter_headers: Use specific settings
Issue: #3728

---
 src/plugins/lua/milter_headers.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)


More information about the Commits mailing list