aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-12 16:33:21 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-12 16:33:21 +0000
commitfd3caeb72c49fbbaeac72108365eee8c7f96dad1 (patch)
tree2195d6c3565b575719e6e93d6bb13a2284e72f0f /src
parent98de6bab57e6bb441794f1622a1df38f58c4c3be (diff)
downloadrspamd-fd3caeb72c49fbbaeac72108365eee8c7f96dad1.tar.gz
rspamd-fd3caeb72c49fbbaeac72108365eee8c7f96dad1.zip
[Minor] Fix domain check
Diffstat (limited to 'src')
-rw-r--r--src/plugins/lua/whitelist.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/whitelist.lua b/src/plugins/lua/whitelist.lua
index 11c01134b..6bd819e88 100644
--- a/src/plugins/lua/whitelist.lua
+++ b/src/plugins/lua/whitelist.lua
@@ -152,7 +152,7 @@ local function whitelist_cb(symbol, rule, task)
local tld = rspamd_util.get_tld(helo)
if tld then
- find_domain(tld)
+ find_domain(tld, 'spf')
end
end
end