aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-20 20:28:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-20 20:28:59 +0100
commitd43846dfcb21b6b1254cc0c0f9495d4441ccffb3 (patch)
treeb08be7c6c5a36cce0ccb56d2e4d3601dad986d57 /src
parent913c37391f886e6b33e299f1ee8477e589182980 (diff)
downloadrspamd-d43846dfcb21b6b1254cc0c0f9495d4441ccffb3.tar.gz
rspamd-d43846dfcb21b6b1254cc0c0f9495d4441ccffb3.zip
[Minor] Rbl: Adjust whitelisting one more time
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/rbl.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index d82a89948..430afaf34 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