diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-20 12:22:56 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-20 12:22:56 +0100 |
commit | f7878b4084b439e4b8c1589fb4ecc3a8925cdbe8 (patch) | |
tree | 04954f8a1b5b292e6c85b294a2db97161959941a /src | |
parent | a2f0c5c7705baabe9cb70f906be1ea7a5b56f4cd (diff) | |
download | rspamd-f7878b4084b439e4b8c1589fb4ecc3a8925cdbe8.tar.gz rspamd-f7878b4084b439e4b8c1589fb4ecc3a8925cdbe8.zip |
[Minor] Rbl: Fix some more defects
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/rbl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
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') |