diff options
-rw-r--r-- | src/plugins/lua/rbl.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 677496fa8..cf04b8abb 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -336,11 +336,11 @@ local function gen_rbl_callback(rule) if rule.hash then -- Leave @ as is add_dns_request(string.format('%s@%s', - email:get_user(), email:get_domain()), false, requests_table) + email:get_user(), email:get_host()), false, requests_table) else -- Replace @ with . add_dns_request(string.format('%s.%s', - email:get_user(), email:get_domain()), false, requests_table) + email:get_user(), email:get_host()), false, requests_table) end end end |