Help, softaculous blocks phpList!

PHP’s IMAP extension is "DEPRECATED and UNBUNDLED as of PHP 8.4.0", which causes an error when upgrading phpList through Softaculous.

Does this come from phpList itself? If so, please fix ASAP as it means it’s unusable for those using modern PHP (from November last year).

If it doesn’t come from phpList itself, is there anyone in phpList in charge of its Softaculous implemenation? Again please fix ASAP since it prevents every cPanel user out there from using phpList.

@lwc I think that the error is from Softaculous by making the IMAP extension a dependency for installing phplist. That shouldn’t be the case as you can use phplist without IMAP, but bounce processing won’t be available.

This is an issue though trying to use phplist with php 8.4 regardless of how the install or upgrade was done. There are two plugins, IMAP plugin and IMAP2 plugin, which can be used instead of the IMAP extension but I don’t know whether they can be viewed as long-term solutions.

Thanks, it sounds like 2 issues:

  1. Why would Softaculous act as if they manage phpList and add dependencies behind phpLists back? Is there no one in phpList who’s in charge of integrating phpList in Softaculous?
  2. How come there’s no issue at phpList’s GitHub repository about phpList’s bounces not working in modern PHP without an unofficial plugin?

In any case:

  1. I’ve convinced Softaculous to release an immediate version which no longer blocks phpList.
  2. I can’t test the unsecure POP3-only IMAP plugin, while IMAP2 fails on me. I’ve submitted all of this in:
    Bounces and other utilities no longer work due to relying on the deprecated IMAP extension · Issue #1061 · phpList/phplist3 · GitHub

@lwc Regarding using the IMAP2 plugin, you need to use imap protocol instead of pop3, see the plugin documentation plugin:imap2 [phpList Resources]

I did, see my screenshot in the issue - it tries to use IMAP.

@lwc Sorry I meant IMAP2
I would guess that the port 993 is not open.

According to PHP: imap_open - Manual “/imap, /imap2, /imap2bis, /imap4, /imap4rev1” are all “equivalent to /service=imap”.

Why wouldn’t this port be opened? And why an unknown error?

@lwc Sorry but I don’t know anything about your setup. Is ‘localhost’ correct for the mailbox host? I have always used the server name, e.g. the plugin successfully connects to the bounce mailbox using

$bounce_mailbox_host = 'pallas.mythic-beasts.com';
$bounce_mailbox_user = 'bounces@mydomain.com';
$bounce_mailbox_password = 'xxxx';
$bounce_mailbox_port = '993/imap/ssl';

Before the plugin:

$bounce_protocol = 'pop';
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_port = "995/pop3/ssl/novalidate-cert";

After the plugin:

$bounce_protocol = 'pop';
$bounce_mailbox_host = 'localhost';
$bounce_mailbox_port = "993/imap/ssl/novalidate-cert";

Either way it should indicate the relevant error.

@lwc Can you try using the server name instead of “localhost”?

Yes, it fixes it (issue updated accordingly)
how come?