Monday at 01:15 AM4 days Hello,I am using CWP on CentOS 7.This morning when I accessed my Roundcube mailbox, I received the error shown in the image.I restarted all services on the server and none of them were faulty, but the error persists.Also, I tried changing the Root password but it was unsuccessful.Could you please help me fix this?Thank you very much. Edited Monday at 01:15 AM4 days by andylau123
Monday at 02:33 AM4 days Author Hello everyone,I'm currently using PHP 7.4 and Roundcube 1.5.8 - CWP CentOS 7When I access the Mail page, I get the error shown in the title.I checked the Log and found an error:Stack trace:#0 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(1372): rcube_spoofchecker::check('server.t...')#1 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(524): rcmail_action_mail_index::address_string('root@server.t', 3, false, NULL, NULL)#2 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/list.php(125): rcmail_action_mail_index::js_message_list(Array, false, Array)#3 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(275): rcmail_action_mail_list->run(Array)#4 /usr/local/cwpsrv/var/services/roundcube/index.php(283): rcmail->action_handler()#5 {main}thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php on line 50I have temporarily disabled the Spoofchecker function by adding the following: return false; and it is temporarily working:return false;// Spoofchecker is part of ext-intl (requires ICU >= 4.2)$checker = new Spoofchecker();Is there a way to handle this without disabling the function?Thank you.
10 hours ago10 hr Hello,The issue is related to the Roundcube Spoofchecker validation. As a workaround, please execute the following 2 commands (copy and paste to ssh terminal):cp -a /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php{,.bak} sed -i '/\$checker = new Spoofchecker();/i\ return false;' \ /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.phpor One command fix : sed -i '/\$checker = new Spoofchecker();/i\ return false;' /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php
Create an account or sign in to comment