]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix ARC signing after fixing another bug in it...
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 13 May 2019 20:06:39 +0000 (21:06 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 13 May 2019 20:06:39 +0000 (21:06 +0100)
lualib/lua_auth_results.lua
src/plugins/lua/arc.lua

index 1ec3dc5385b506ff98eab5e3f838464d16315940..3438b20582fbd22ddb2ff289db024e32e06406cf 100644 (file)
@@ -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)
index 496e8c21e5b9fc87bb450f653bdd3799a0e85e13..05f92e5dd333887e7e8cf586e23516767af1da4a 100644 (file)
@@ -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