]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Rbl: Fix rdns pipeline
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 9 Dec 2022 21:32:38 +0000 (21:32 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 9 Dec 2022 21:32:38 +0000 (21:32 +0000)
Issue: #4356

src/plugins/lua/rbl.lua

index 3b73f0b0343154b7b6d1a04aad84e498e1697849..621903f9975a7b0d78a8cba6fdd9dcc11268e9c5 100644 (file)
@@ -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,