aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rbl.lua
diff options
context:
space:
mode:
authorOliver Dick <o.dick@hosting.de>2020-05-05 13:03:28 +0200
committerOliver Dick <o.dick@hosting.de>2020-05-05 13:03:28 +0200
commit24f8fa1e3e68ae0601cb6e85bd08d00aa118614a (patch)
treeb91e1f1ee4831c0b81a2961fdb252bdb02a989f5 /src/plugins/lua/rbl.lua
parent569825264466b743f741514f117afae29c4b8dad (diff)
downloadrspamd-24f8fa1e3e68ae0601cb6e85bd08d00aa118614a.tar.gz
rspamd-24f8fa1e3e68ae0601cb6e85bd08d00aa118614a.zip
Fix lowercase for emails checked on RBLs
Diffstat (limited to 'src/plugins/lua/rbl.lua')
-rw-r--r--src/plugins/lua/rbl.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index 73bddfdc9..bfc2dcc6b 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -589,7 +589,8 @@ local function gen_rbl_callback(rule)
local function check_email_table(task, email_tbl, requests_table, whitelist, what)
lua_util.remove_email_aliases(email_tbl)
- email_tbl.addr = email_tbl.addr:lower()
+ email_tbl.domain = email_tbl.domain:lower()
+ email_tbl.user = email_tbl.user:lower()
if rule.emails_domainonly then
add_dns_request(task, email_tbl.domain, false, false, requests_table,