commit 5bc4486: [Minor] Sigh, another replyto rbl fix
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Sep 19 16:28:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-09-19 17:24:19 +0100
URL: https://github.com/rspamd/rspamd/commit/5bc4486b96fb515269d8c13fa53c1ae23579f272 (HEAD -> master)
[Minor] Sigh, another replyto rbl fix
---
src/plugins/lua/rbl.lua | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 7d9b9f71b..75adb6e2f 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -598,8 +598,9 @@ local function gen_rbl_callback(rule)
delimiter = '@'
end
end
- add_dns_request(task, string.format('%s%s%s',
- rt[1].user, delimiter, rt[1].host), true, false,
+
+ add_dns_request(task, rt[1].addr:gsub('@', delimiter),
+ true, false,
requests_table, 'email replyto', whitelist)
end
end
More information about the Commits
mailing list