I managed to kludge my way around this error by modifying the
rcube_spoofchecker.php file:
#v+
@@ -51,14 +51,13 @@
// Note: The constant (and method?) added in PHP 7.3.0
if (defined('Spoofchecker::HIGHLY_RESTRICTIVE')) {
- // $checker->setRestrictionLevel(Spoofchecker::HIGHLY_RESTRICTIVE);
+ $checker->setRestrictionLevel(Spoofchecker::HIGHLY_RESTRICTIVE);
}
else {
$checker->setChecks(Spoofchecker::SINGLE_SCRIPT |
Spoofchecker::INVISIBLE);
}
- // $result = $checker->isSuspicious($domain);
- $result = '';
+ $result = $checker->isSuspicious($domain);
// TODO: Use areConfusable() to detect ascii-spoofing of some domains,
e.g. paypa1.com?
// TODO: Domains with non-printable characters should be considered
spoofed
+v-
Not recommended, obviously, but at least webmail is usable until I can figure
out why this happened and what to do about it.
(I checked the cube_spoofchecker.php going back to last December and it has not
changed, so something else is causing this.
> On 2022 May 18, at 17:20, @lbutlr <[email protected]> wrote:
>
> [18-May-2022 17:17:19 America/Denver] PHP Fatal error: Uncaught Error: Found
> unconstructed Spoofchecker in
> /usr/local/www/roundcube/program/lib/Roundcube/rcube_spoofchecker.php:54
--
FOUR QUEENS. HMM. THAT IS VERY HIGH. Death looked down at his cards,
and then up into Granny's steady, blue-eyed gaze. Neither moved
for some time. Then Death laid the hand on the table. I LOSE, he
said. ALL I HAVE IS FOUR ONES.
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users