diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-30 16:07:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-30 16:07:45 +0100 |
commit | 9a7f377edfe557a926e080ca9ecdbbd15b1cd7ce (patch) | |
tree | c4b394b8cb493118ecdcb59af4ac017cce994451 /lualib | |
parent | 2aaf45f8f38ace7fa6b39d5e161d5389c1d52e40 (diff) | |
download | rspamd-9a7f377edfe557a926e080ca9ecdbbd15b1cd7ce.tar.gz rspamd-9a7f377edfe557a926e080ca9ecdbbd15b1cd7ce.zip |
[Feature] Rbl: Make config checks much more strict
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_cfg_transform.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index 17e77645d..ae7d8997c 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -257,6 +257,7 @@ local function surbl_section_convert(cfg, section) if k == 'suffix' then k = 'rbl' end if k == 'ips' then k = 'returncodes' end if k == 'bits' then k = 'returnbits' end + if k == 'noip' then k = 'no_ip' end -- Crappy legacy if k == 'options' then if v == 'noip' or v == 'no_ip' then |