Skip to content

Commit

Permalink
[Minor] Rbl: Match old surbl behaviour for emails
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Sep 1, 2019
1 parent 52e4e1f commit 42b990a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lualib/lua_cfg_transform.lua
Expand Up @@ -263,6 +263,11 @@ local function surbl_section_convert(cfg, section)
converted.dkim_match_from = true
end

if k == 'emails' and v then
-- To match surbl behaviour
converted.emails_domainonly = true
end

converted[k] = lua_util.deepcopy(v)
end
rbl_section[name] = converted
Expand Down

0 comments on commit 42b990a

Please sign in to comment.