]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix domain check
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Dec 2019 16:33:21 +0000 (16:33 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 12 Dec 2019 16:33:21 +0000 (16:33 +0000)
src/plugins/lua/whitelist.lua

index 11c01134bc74dfdc1cbc359ca3e5418fc0493a27..6bd819e88e7beaed9ad59dcbba1a72f6a6d28cdc 100644 (file)
@@ -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