diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-26 14:52:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 14:52:29 +0100 |
commit | f16ae1bbd43346b8fb2d79b0fd476c771b32a7cc (patch) | |
tree | ad0d2a09622e46e691c19db86e6a942d184bd5c7 /src | |
parent | 6482ab98076d2a888382b6daef2abc7f64452b4a (diff) | |
parent | cadbc3d724e69ac57232c22efce3d07f6737f5da (diff) | |
download | rspamd-f16ae1bbd43346b8fb2d79b0fd476c771b32a7cc.tar.gz rspamd-f16ae1bbd43346b8fb2d79b0fd476c771b32a7cc.zip |
Merge pull request #2307 from andy-igoshin/master
support for non-TLD domains
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/whitelist.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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) |