Browse Source

[Fix] RBL: Fix behaviour of emails_domainonly

tags/2.0
Vsevolod Stakhov 4 years ago
parent
commit
2aaf45f8f3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/plugins/lua/rbl.lua

+ 1
- 1
src/plugins/lua/rbl.lua View File

@@ -589,7 +589,7 @@ local function gen_rbl_callback(rule)

for _,email in ipairs(emails) do
local email_tbl = {
domain = email:get_tld(),
domain = (rule.emails_domainonly and email:get_tld()) or email:get_host(),
user = email:get_user(),
addr = tostring(email),
}

Loading…
Cancel
Save