@ -163,11 +163,14 @@ try {
}
if (!$found) {
$domainlist[] = $match;
if (strpos($match, "www.") === 0) {
// starts with www, let's strip it and add both to the list to check
$domainlist[] = substr($match, 4);
foreach ($domainlist as $d) {
// check local domain blacklist
foreach ($bannedspamdomains as $word) {
if ($word == $d) {