diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-01 09:35:31 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-01 09:36:01 +0100 |
commit | 42b990a458fbb81ad4d605755d8f7a8fd16d8e42 (patch) | |
tree | a2985ef38b549e4071ebcf5f5a5b404710ccd601 /lualib/lua_cfg_transform.lua | |
parent | 52e4e1f89f7e55c06d8d6c3d347db706bc9f48ab (diff) | |
download | rspamd-42b990a458fbb81ad4d605755d8f7a8fd16d8e42.tar.gz rspamd-42b990a458fbb81ad4d605755d8f7a8fd16d8e42.zip |
[Minor] Rbl: Match old surbl behaviour for emails
Diffstat (limited to 'lualib/lua_cfg_transform.lua')
-rw-r--r-- | lualib/lua_cfg_transform.lua | 5 |
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 |