commit fd3caeb: [Minor] Fix domain check
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Dec 12 16:35:06 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-12-12 16:33:21 +0000
URL: https://github.com/rspamd/rspamd/commit/fd3caeb72c49fbbaeac72108365eee8c7f96dad1 (HEAD -> master)
[Minor] Fix domain check
---
src/plugins/lua/whitelist.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the Commits
mailing list