Browse Source

[Fix] Fix ARC signing after fixing another bug in it...

tags/1.9.4
Vsevolod Stakhov 5 years ago
parent
commit
b7eebbacc4
2 changed files with 5 additions and 5 deletions
  1. 4
    1
      lualib/lua_auth_results.lua
  2. 1
    4
      src/plugins/lua/arc.lua

+ 4
- 1
lualib/lua_auth_results.lua View 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)

+ 1
- 4
src/plugins/lua/arc.lua View 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

Loading…
Cancel
Save