From 8b0c9d52554909656b8db2d8c93d8d680776de0b Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 14 Jun 2016 09:15:36 +0100 Subject: [Feature] Add openphish support to rspamd phishing module --- conf/metrics.conf | 6 +++++- conf/modules.d/phishing.conf | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/metrics.conf b/conf/metrics.conf index a3c8b27c8..aa4dab022 100644 --- a/conf/metrics.conf +++ b/conf/metrics.conf @@ -834,9 +834,13 @@ metric { group "phishing" { symbol "PHISHING" { weight = 4.0; - description = "Phished mail"; + description = "Phished URL"; one_shot = true; } + symbol "PHISHED_OPENPHISH" { + weight = 7.0; + description = "Phished URL found in openphish.com"; + } } group "date" { diff --git a/conf/modules.d/phishing.conf b/conf/modules.d/phishing.conf index c1b63909a..392708cde 100644 --- a/conf/modules.d/phishing.conf +++ b/conf/modules.d/phishing.conf @@ -18,6 +18,7 @@ phishing { .include(try=true,priority=1) "$LOCAL_CONFDIR/local.d/phishing.conf" .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/phishing.conf" symbol = "PHISHING"; + openphish_map = "https://www.openphish.com/feed.txt"; # Make exclusions for known redirectors redirector_domains = [ -- cgit v1.2.3