diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-30 16:45:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-30 16:45:50 +0100 |
commit | 6ea2346e8f2baeeadd9dd5e61610281f2838ca07 (patch) | |
tree | 89fd6a896c08f05b9e344828c9634fa2942c1cd3 /lualib/lua_cfg_transform.lua | |
parent | 9a7f377edfe557a926e080ca9ecdbbd15b1cd7ce (diff) | |
download | rspamd-6ea2346e8f2baeeadd9dd5e61610281f2838ca07.tar.gz rspamd-6ea2346e8f2baeeadd9dd5e61610281f2838ca07.zip |
[Minor] Rbl: Fix conversion for emailbl
Diffstat (limited to 'lualib/lua_cfg_transform.lua')
-rw-r--r-- | lualib/lua_cfg_transform.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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 |