Authres_status crashes on some imap folders
Changing to some folders is causing and error:
Removing the authres_status plugin fixes the problem.
This is he error I get: [Tue Jan 14 21:08:04.604706 2025] [php:error] [pid 51:tid 51] [client 192.168.2.4:51354] PHP Fatal error: Uncaught Error: Class "DKIM_Verify" not found in /var/www/html/plugins/authres_status/authres_status.php:478\nStack trace:\n#0 /var/www/html/plugins/authres_status/authres_status.php(216): authres_status->get_authentication_status(Object(rcube_message_header), 126, 51605)\n#1 /var/www/html/program/lib/Roundcube/rcube_plugin_api.php(520): authres_status->messages_list(Array)\n#2 /var/www/html/program/actions/mail/index.php(469): rcube_plugin_api->exec_hook('messages_list', Array)\n#3 /var/www/html/program/actions/mail/list.php(125): rcmail_action_mail_index::js_message_list(Array, false, Array)\n#4 /var/www/html/program/include/rcmail.php(282): rcmail_action_mail_list->run(Array)\n#5 /var/www/html/index.php(278): rcmail->action_handler()\n#6 {main}\n thrown in /var/www/html/plugins/authres_status/authres_status.php on line 478, referer: https://webmail.sytsma.co.uk/?_task=mail&_mbox=Archives
Roundcubmail is running in a docker container.
I also noticed disablening the internal verifier in settings is also solving the problem.
Thanks for the report, could you please double check if the php-dkim package has been installed?
$ # cd /var/www/my.domain.mail/roundcube
$ composer show -i | grep dkim
composer show -i | grep dkim is outdated according to my docker system, -i should be -all root@6225ac8e9908:/var/www/html# composer show -i | grep dkim Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
composer show -all | grep dkim gives:
! patch or minor release available - update recommended
~ major release available - update possible
= up to date version
academe/laraveldkim
angrychimp/php-dkim
arnwaltur/laravel-dkim
dudu54/laravel-dkim
fastnloud/zf2-dkim
guysolamour/laravel-dkim
hostbrook/laravel-dkim
joepsyko/zf-dkim
jv-conseil/dkim-php-mail-signature
kynx/laminas-dkim
ligorikus/laravel-dkim
metalinspired/laminas-dkim
metalinspired/zf-dkim
mlouis/laravel5-dkim
one23/laravel-mail-dkim
ox01code/laravel-dkim
phpmailer/dkimvalidator
pimlie/php-dkim
radicalloop/laravel5-dkim
rapideinternet/laraveldkim
ricardoboss/laravel-dkim
samhk222/laravel5-dkim
shoaibnawaz/laraveldkim
simonschaufi/laravel-dkim
skripal/laravel-dkim
teon/dkim
tobymaxham/laravel-dkim
veto/froxlor-opendkim
vitalybaev/laravel-dkim
vitalybaev/laravel5-dkim
xdecock/php-opendkim
root@6225ac8e9908:/var/www/html#
Obviously php-dkim is not installed so: composer require php-dkim
Solved the problem