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

Migrate the emailcollector class towards using webklex/php-imap library #24765

Open
HLFH opened this issue May 14, 2023 · 3 comments
Open

Migrate the emailcollector class towards using webklex/php-imap library #24765

HLFH opened this issue May 14, 2023 · 3 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@HLFH
Copy link
Contributor

HLFH commented May 14, 2023

Critical bug

Dolibarr 17.0.0 is not usable because it requires php-imap that has been dropped by most of the distributions as php-imap was relying on the unmaintained uw-imap.

Dolibarr requires the migration of the emailcollector class towards using the webklex/php-imap library.

Environment Version

17.0.0

Environment OS

Arch Linux

Environment Web server

nginx

Environment PHP

php-legacy

Environment Database

mariadb

Environment URL(s)

No response

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

@HLFH HLFH added the Bug This is a bug (something does not work as expected) label May 14, 2023
@HLFH
Copy link
Contributor Author

HLFH commented May 14, 2023

At least 4 files to update:

  • htdocs/install/check.php;
  • htdocs/admin/emailcollector_card.php;
  • htdocs/admin/system/phpinfo.php;
  • htdocs/emailcollector/class/emailcollector.class.php

I will gradually do changes on these files: https://github.com/HLFH/dolibarr on the imap-fix branch.
I packaged dolibarr-git that integrates these changes: https://aur.archlinux.org/packages/dolibarr-git.
And I packaged dolibarr 17.0.1 that does not have these changes: https://aur.archlinux.org/packages/dolibarr

@eldy
Copy link
Member

eldy commented Jan 2, 2024

Note: Currently you have a warning at install, but you can install despite of this.
The option MAIN_IMAP_USE_PHPIMAP will be forced to true when Dolibarr will support php8.4

@q2dg
Copy link

q2dg commented Apr 7, 2024

Well...I've tried to run rpm -Uvh dolibarr-19.0.1-0.4.noarch.rpm on a Fedora 39 system and I can't install the package because:

*It complains "php-imap" is required (but it can't be installed due to reasons explained in above posts)
*It complains "mysql-server" is required (but it can't be installed due to this package doesn´t exist in Fedora, its alternative -which is what I've installed- is MariaDB)

So, please, update the rpm package in order to get rid of these faulty errors. If not, Dolibarr can't be installed on Fedora systems!
Thanks!

PD: When trying to install rpm package with dnf, I get exactly the same error mentioned in #19967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

3 participants