commit 9a58947: [Minor] Rbl: Fix rdns pipeline

Vsevolod Stakhov vsevolod at rspamd.com
Fri Dec 9 21:35:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-12-09 21:32:38 +0000
URL: https://github.com/rspamd/rspamd/commit/9a58947d9fc01b024cde0a8bd98476c08f17173b (HEAD -> master)

[Minor] Rbl: Fix rdns pipeline
Issue: #4356

---
 src/plugins/lua/rbl.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,


More information about the Commits mailing list