From: Andrew Lewis Date: Fri, 14 Mar 2025 11:26:57 +0000 (+0200) Subject: [Fix] Update default URL for openphish X-Git-Tag: 3.12.0~60^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5389%2Fhead;p=thirdparty%2Frspamd.git [Fix] Update default URL for openphish --- diff --git a/conf/modules.d/phishing.conf b/conf/modules.d/phishing.conf index a6531e6894..076f5964ff 100644 --- a/conf/modules.d/phishing.conf +++ b/conf/modules.d/phishing.conf @@ -17,7 +17,7 @@ phishing { # Disabled by default openphish_enabled = false; openphish_premium = false; - openphish_map = "https://www.openphish.com/feed.txt"; + openphish_map = "https://raw.githubusercontent.com/openphish/public_feed/refs/heads/main/feed.txt"; # Phishtank is disabled by default in the module, so let's enable it here explicitly phishtank_enabled = true; diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 3f5c9e6344..4dc3fd924e 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -39,7 +39,7 @@ local anchor_exceptions_maps = {} local strict_domains_maps = {} local phishing_feed_exclusion_map = nil local generic_service_map = nil -local openphish_map = 'https://www.openphish.com/feed.txt' +local openphish_map = 'https://raw.githubusercontent.com/openphish/public_feed/refs/heads/main/feed.txt' local phishtank_suffix = 'phishtank.rspamd.com' -- Not enabled by default as their feed is quite large local openphish_premium = false