diff options
-rw-r--r-- | conf/modules.d/phishing.conf | 2 | ||||
-rw-r--r-- | test/functional/configs/phishing.conf | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/conf/modules.d/phishing.conf b/conf/modules.d/phishing.conf index b82854297..bd2e0bd86 100644 --- a/conf/modules.d/phishing.conf +++ b/conf/modules.d/phishing.conf @@ -21,7 +21,7 @@ phishing { # Phishtank is disabled by default in the module, so let's enable it here explicitly phishtank_enabled = true; - # Make exclusions for known redirectors + # Make exclusions for known redirectors and domains exceptions = { REDIRECTOR_FALSE = [ "https://maps.rspamd.com/rspamd/redirectors.inc.zst", diff --git a/test/functional/configs/phishing.conf b/test/functional/configs/phishing.conf index 3ea53a0d1..2b029f687 100644 --- a/test/functional/configs/phishing.conf +++ b/test/functional/configs/phishing.conf @@ -1,7 +1,11 @@ phishing { symbol = "PHISHING"; - strict_domains = [ - "${TESTDIR}/configs/maps/strict.phishing:STRICT_PHISHING", - "${TESTDIR}/configs/maps/stricter.phishing:STRICTER_PHISHING" - ]; + strict_domains = { + STRICT_PHISHING = [ + "${TESTDIR}/configs/maps/strict.phishing", + ]; + STRICTER_PHISHING = [ + "${TESTDIR}/configs/maps/stricter.phishing" + ] + } } |