Commit 84e9f0ee authored by Robert Lyon's avatar Robert Lyon

Bug 1662367: Checking against correct antispam 'surbl' url

Was checking against multi.surbl.com but that is returning a 127.0.0.1
A record response even if url was not blacklisted.

Switched it to multi.surbl.org

behatnotneeded

Change-Id: I339e2d69d9d351fd3b27ea6e32098b2efb0ea17c
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit b12695f1)
(cherry picked from commit 79c7d9ff)
(cherry picked from commit e9dd5d9f)
parent d6b12ca0
......@@ -43,7 +43,7 @@ class AdvancedSpamTrap extends SimpleSpamTrap {
$blacklists[] = 'dbl.spamhaus.org';
}
if (get_config('surbl')) {
$blacklists[] = 'multi.surbl.com';
$blacklists[] = 'multi.surbl.org';
}
// extract the hostname from the url
preg_match('#://([^\s\'"<>()\.]*\.)*([^\s\'"<>()]+\.[a-zA-Z]+)/?#', $url, $match);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment