From: Vsevolod Stakhov Date: Tue, 27 Aug 2019 17:42:40 +0000 (+0100) Subject: [Minor] Rbl: Some more whitelist fixes X-Git-Tag: 2.0~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97d6e1e7197ee4b804a09a164c81a1a9e68e7910;p=thirdparty%2Frspamd.git [Minor] Rbl: Some more whitelist fixes --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index f38cf69814..b03bcaf6d3 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -259,6 +259,8 @@ end local function gen_rbl_callback(rule) local function is_whitelisted(task, req, req_str, whitelist, what) + if rule.ignore_whitelist then return false end + if rule.whitelist then if rule.whitelist:get_key(req) then lua_util.debugm(N, task,