commit 56d6231: [Fix] Fix ARC signing after fixing another bug in it...
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon May 13 20:14:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-05-13 21:06:39 +0100
URL: https://github.com/rspamd/rspamd/commit/56d6231ba02cb9e686de1bc597171b82b876e963 (HEAD -> master)
[Fix] Fix ARC signing after fixing another bug in it...
---
lualib/lua_auth_results.lua | 5 ++++-
src/plugins/lua/arc.lua | 5 +----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/lualib/lua_auth_results.lua b/lualib/lua_auth_results.lua
index 1ec3dc538..3438b2058 100644
--- a/lualib/lua_auth_results.lua
+++ b/lualib/lua_auth_results.lua
@@ -49,7 +49,10 @@ local default_settings = {
add_smtp_user = true,
}
-local exports = {}
+local exports = {
+ default_settings = default_settings
+}
+
local local_hostname = rspamd_util.get_hostname()
local function gen_auth_results(task, settings)
diff --git a/src/plugins/lua/arc.lua b/src/plugins/lua/arc.lua
index 496e8c21e..05f92e5dd 100644
--- a/src/plugins/lua/arc.lua
+++ b/src/plugins/lua/arc.lua
@@ -91,10 +91,7 @@ local settings = {
}
-- To match normal AR
-local ar_settings = {
- add_smtp_user = true,
- stop_chars = ';'
-}
+local ar_settings = auth_results.default_settings
local function parse_arc_header(hdr, target)
-- Split elements by ';' and trim spaces
More information about the Commits
mailing list