git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1824
7612ce4b-ef26-0410-bec9-
ea0150e637f0
$IsSpam ++;
break; // no sense in checking more IPs
}
+ // If we've checked one IP and YourHop is just a space
+ if ($SpamFilters_YourHop == ' ') {
+ break; // don't check any more
+ }
}
}
}
'<tr><th align=center>' . _("Spam Filtering") . '</th></tr>'.
'</table>';
+ if ($SpamFilters_YourHop == ' ') {
+ echo '<BR><center><b>WARNING! Tell your admin to set the SpamFilters_YourHop variable</b></center><BR>';
+ }
+
if (isset($action) && $action == 'spam') {
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);