summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-09-25 14:34:21 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2018-09-25 14:34:21 +0300
commitfda9e074ec9cfe90571d83761572354f471737bc (patch)
treebf1599a6e19d9b3f6d935722c8ac4e5ca466a9c6
parent7defd80213710b83381e77fec1102fb112a1d7e1 (diff)
downloadrspamd-fda9e074ec9cfe90571d83761572354f471737bc.tar.gz
rspamd-fda9e074ec9cfe90571d83761572354f471737bc.zip
[Conf] Restore ability to disable phishtank
-rw-r--r--conf/modules.d/phishing.conf2
-rw-r--r--src/plugins/lua/phishing.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/modules.d/phishing.conf b/conf/modules.d/phishing.conf
index 649793deb..511e618dc 100644
--- a/conf/modules.d/phishing.conf
+++ b/conf/modules.d/phishing.conf
@@ -20,7 +20,7 @@ phishing {
openphish_premium = false;
openphish_map = "https://www.openphish.com/feed.txt";
# Disabled by default
- phishtank_enabled = false;
+ phishtank_enabled = true;
# Make exclusions for known redirectors
redirector_domains = [
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua
index 5ebabc010..e07cd8858 100644
--- a/src/plugins/lua/phishing.lua
+++ b/src/plugins/lua/phishing.lua
@@ -40,7 +40,7 @@ local phishtank_suffix = 'phishtank.rspamd.com'
-- Not enabled by default as their feed is quite large
local openphish_premium = false
-- Published via DNS
-local phishtank_enabled = true
+local phishtank_enabled = false
local generic_service_hash
local openphish_hash
local generic_service_data = {}