aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-09 21:32:38 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-09 21:32:38 +0000
commit9a58947d9fc01b024cde0a8bd98476c08f17173b (patch)
tree9813bae8027c8bf20b2c7879c93a723310bd0119 /src/plugins/lua/rbl.lua
parente6f1e32b07e275379e779e83f62d09c0ed15209f (diff)
downloadrspamd-9a58947d9fc01b024cde0a8bd98476c08f17173b.tar.gz
rspamd-9a58947d9fc01b024cde0a8bd98476c08f17173b.zip
[Minor] Rbl: Fix rdns pipeline
Issue: #4356
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 3b73f0b03..621903f99 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -637,7 +637,7 @@ local function gen_rbl_callback(rule)
local function check_rdns(task, requests_table, whitelist)
local hostname = task:get_hostname()
if hostname == nil or hostname == 'unknown' then
- return false
+ return true
end
add_dns_request(task, hostname, true, false,