Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authres_status crashes on some imap folders #75

Open
HanSyt opened this issue Jan 14, 2025 · 2 comments
Open

Authres_status crashes on some imap folders #75

HanSyt opened this issue Jan 14, 2025 · 2 comments

Comments

@HanSyt
Copy link

HanSyt commented Jan 14, 2025

Changing to some folders is causing and error:
Screenshot_20250114_220814
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.
Screenshot_20250114_221419

@pimlie
Copy link
Owner

pimlie commented Jan 15, 2025

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

@HanSyt
Copy link
Author

HanSyt commented Jan 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants