diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-05-16 20:08:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 20:08:29 +0100 |
commit | 5540e295f8fbb2c4504396cdc2722e2e24f8f2bc (patch) | |
tree | a7d6da981677dea22df1f96f13d108bf22472e9a | |
parent | 74336a58c4266f4fcd17480028e96d58b6a40fe3 (diff) | |
parent | 24f8fa1e3e68ae0601cb6e85bd08d00aa118614a (diff) | |
download | rspamd-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.lua | 3 |
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, |