From cadbc3d724e69ac57232c22efce3d07f6737f5da Mon Sep 17 00:00:00 2001 From: Andrey Igoshin Date: Sun, 24 Jun 2018 14:24:35 +0300 Subject: [PATCH] support for non-TLD domains --- src/plugins/lua/whitelist.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/lua/whitelist.lua b/src/plugins/lua/whitelist.lua index 7637bb555..69c37c5dc 100644 --- a/src/plugins/lua/whitelist.lua +++ b/src/plugins/lua/whitelist.lua @@ -135,6 +135,9 @@ local function whitelist_cb(symbol, rule, task) if tld then found, mult = find_domain(tld) + if not found then + found, mult = find_domain(val) + end end end end, dkim_opts) -- 2.39.5