diff options
Diffstat (limited to 'lualib/lua_auth_results.lua')
-rw-r--r-- | lualib/lua_auth_results.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_auth_results.lua b/lualib/lua_auth_results.lua index 2c121dc65..f7a319f48 100644 --- a/lualib/lua_auth_results.lua +++ b/lualib/lua_auth_results.lua @@ -197,7 +197,7 @@ local function gen_auth_results(task, settings) -- Main type local sender local sender_type - local smtp_from = task:get_from('smtp') + local smtp_from = task:get_from({'smtp','orig'}) if smtp_from and smtp_from[1] and @@ -248,7 +248,7 @@ local function gen_auth_results(task, settings) end local u = task:get_user() - local smtp_from = task:get_from('smtp') + local smtp_from = task:get_from({'smtp','orig'}) if u and smtp_from then local hdr = {[1] = 'auth=pass'} |