aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lualib/lua_cfg_transform.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua
index 07a53723e..32e1a2ee3 100644
--- a/lualib/lua_cfg_transform.lua
+++ b/lualib/lua_cfg_transform.lua
@@ -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