From 6ea2346e8f2baeeadd9dd5e61610281f2838ca07 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 30 Sep 2019 16:45:50 +0100 Subject: [PATCH] [Minor] Rbl: Fix conversion for emailbl --- lualib/lua_cfg_transform.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index ae7d8997c..a82bae1b7 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -316,11 +316,13 @@ local function emails_section_convert(cfg, section) if k == 'domain_only' then k = 'emails_domainonly' end if k == 'delimiter' then k = 'emails_delimiter' end if k == 'skip_body' then + skip = true if v then -- Hack converted.emails = false converted.replyto = true - skip = true + else + converted.emails = true end end if k == 'expect_ip' then -- 2.39.5