-
Notifications
You must be signed in to change notification settings - Fork 291
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 away from PHP's imap extension? #812
Comments
Thanks for the notification. The 'imap' extension is an optional requirement for postfixadmin, and it's only used if someone has configured various config things (create_mailbox_subdirs, create_mailbox_subdirs_host etc) and the function imap_open exists See also https://github.com/postfixadmin/postfixadmin/blob/master/model/MailboxHandler.php#L750 and https://github.com/postfixadmin/postfixadmin/blob/master/config.inc.php#L703 and I suspect it's time to just remove this code. |
…the php-imap module being deprecated; leave in an error_log message to perhaps avoid future support tickets asking why this does not work
Works for me, I'll let our PostfixAdmin maintainer know. Thank you! |
add create_mailbox_subdirs to deprecated list - stop error_log() call for it from Config. see also #812 Co-authored-by: Sergey Lisenko <lisenkosergey@loc.tashkent.uz>
Hey @DavidGoodwin, thanks for the update! Just noticed it's not included in the current release 3.3.14, maybe because this got merged into the master branch and there is a huge diff between master and the 3.3 branch postfixadmin_3.3...master Any plans on merging the branches so that the next release contains this change? In Gentoo Linux, we're working on getting php 8.4 on board, but we somehow need to solve the issue with the imap extension and postfixadmin compatibility. Currently we state that postfixadmin requires php with imap extension, but it's not included in php 8.4 so there's a small glitch that I was hoping will be fixed in the latest release. Thanks! |
It should be noted that the It was only ever unmaintained at older locations but Mark Crispin continued to develop it after his time at University of Washington (as Panda IMAP) and Eduardo Chappa continuing its development as a part of Alpine since Alpine 2.19.1+ since 2013-11-02 after Crispin's death at the end of 2012. Remember Crispin originally developed There is even a GH mirror at alpinemail/alpine and anyone looking for a maintained version of |
The PHP extension itself is now unsupported, making it somewhat of a moot point: https://github.com/php/pecl-mail-imap
Though there may still be distros willing to support it. I'm using it for davical authentication at work, but I plan to replace it with something in pure PHP rather than try to keep the C extension going. |
Yes, the extension was unbundled and subsequently left unsupported. My point was only to state that the |
The PHP imap extension is being dumped:
The "c-client" library that it's based on hasn't been maintained in 20 years, and is a patch monster on all modern systems. This is just a heads up that the PECL extension will probably deteriorate and become unusable soon, since (speaking as one distro maintainer) we were only bothering to keep it alive because it was a dependency of PHP itself.
The text was updated successfully, but these errors were encountered: