commit 6ea2346: [Minor] Rbl: Fix conversion for emailbl
Vsevolod Stakhov
vsevolod at highsecure.ru
Mon Sep 30 15:49:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-09-30 16:45:50 +0100
URL: https://github.com/rspamd/rspamd/commit/6ea2346e8f2baeeadd9dd5e61610281f2838ca07 (HEAD -> master)
[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
More information about the Commits
mailing list