From: Vsevolod Stakhov Date: Wed, 28 Aug 2019 12:32:33 +0000 (+0100) Subject: [Minor] Skip whitelists check for resolveip X-Git-Tag: 2.0~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638dfe7e1a7b75c2d0c7e06cff728595512d3c7a;p=thirdparty%2Frspamd.git [Minor] Skip whitelists check for resolveip --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 30945d49fd..4f6bae83fd 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -291,7 +291,7 @@ local function gen_rbl_callback(rule) req_str = ip_to_rbl(req) end - if is_whitelisted(task, req, req_str, whitelist, what) then + if whitelist and is_whitelisted(task, req, req_str, whitelist, what) then return end