From: Vsevolod Stakhov Date: Mon, 20 Apr 2020 19:28:59 +0000 (+0100) Subject: [Minor] Rbl: Adjust whitelisting one more time X-Git-Tag: 2.6~507 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d43846dfcb21b6b1254cc0c0f9495d4441ccffb3;p=thirdparty%2Frspamd.git [Minor] Rbl: Adjust whitelisting one more time --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index d82a89948d..430afaf340 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -307,8 +307,9 @@ local function gen_rbl_callback(rule) 'whitelisted request to %s by %s (%s) rbl rule (%s checked type, %s whitelist type)', req_str, wl.type, wl.symbol, what, wl.type) if wl.type == what then - -- Add symbol option (0.0 / 0.0 is used to denounce NAN that prevents score modification) - task:adjust_result(wl.symbol, 0.0 / 0.0, rule.symbol) + -- This was decided to be a bad idea as in case of whitelisting a request to blacklist + -- is not even sent + --task:adjust_result(wl.symbol, 0.0 / 0.0, rule.symbol) return true end