commit f7878b4: [Minor] Rbl: Fix some more defects

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Sep 20 11:28:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-20 12:22:56 +0100
URL: https://github.com/rspamd/rspamd/commit/f7878b4084b439e4b8c1589fb4ecc3a8925cdbe8 (HEAD -> master)

[Minor] Rbl: Fix some more defects

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

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 51d26276b..9feab5aea 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -550,7 +550,7 @@ local function gen_rbl_callback(rule)
         end
       end
       add_dns_request(task, string.format('%s%s%s',
-          email_tbl.user, delimiter, email_tbl.host), false, false,
+          email_tbl.user, delimiter, email_tbl.domain), false, false,
           requests_table, what, whitelist)
     end
   end
@@ -591,6 +591,7 @@ local function gen_rbl_callback(rule)
     local replyto = get_raw_header('Reply-To')
     if replyto then
       local rt = rspamd_util.parse_mail_address(replyto, task:get_mempool())
+      lua_util.debugm(N, task, 'check replyto %s', rt[1])
 
       if rt and rt[1] and (rt[1].addr and #rt[1].addr > 0) then
         check_email_table(task, rt[1], requests_table, whitelist, 'email replyto')


More information about the Commits mailing list