aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-05-16 20:08:29 +0100
committerGitHub <noreply@github.com>2020-05-16 20:08:29 +0100
commit5540e295f8fbb2c4504396cdc2722e2e24f8f2bc (patch)
treea7d6da981677dea22df1f96f13d108bf22472e9a
parent74336a58c4266f4fcd17480028e96d58b6a40fe3 (diff)
parent24f8fa1e3e68ae0601cb6e85bd08d00aa118614a (diff)
downloadrspamd-5540e295f8fbb2c4504396cdc2722e2e24f8f2bc.tar.gz
rspamd-5540e295f8fbb2c4504396cdc2722e2e24f8f2bc.zip
Merge pull request #3363 from membero/fix/rbl-email-lowercase
[Fix] lowercase for emails checked on RBLs
-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 df25c9587..d299575ee 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -590,7 +590,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,