Bug #72781 [Opn->Nab]: Squirrelmail login failure

From: Date: Mon, 12 Sep 2016 18:16:31 +0000
Subject: Bug #72781 [Opn->Nab]: Squirrelmail login failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203976@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72781&edit=1

 ID:                 72781
 Updated by:         bukka@php.net
 Reported by:        japs at bistruphave dot dk
 Summary:            Squirrelmail login failure
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            OpenSSL related
 Operating System:   centos 7
 PHP Version:        7.1.0beta2
 Block user comment: N
 Private report:     N

 New Comment:

I have done most of the OpenSSL changes but this doesn't look like anything related to OpenSSL
ext from the look to Squirrelmail code where I see something like this:

            if (! sqimap_capability($imap_stream, 'STARTTLS', false)) {
                // imap server does not declare starttls support
                sqimap_error_box(sprintf(_("Error connecting to IMAP server: %s."),
$server),
                                 '','',
                                 _("IMAP STARTTLS is enabled in SquirrelMail configuration, but
used IMAP server does not support STARTTLS."));
                exit;
            }


sqimap_capability calls just IMAP protocol CAPABILITY feature so it doesn't even touch openssl
ext.

I'm closing this as "Not a bug" but if you find anything related to openssl ext,
I'm happy to reopen.


Previous Comments:
------------------------------------------------------------------------
[2016-08-09 08:02:11] japs at bistruphave dot dk

OpenSSL 1.0.2g/h does not support SSLv2, so the removal of SSLv2 in PHP is not an explanation for
the failure.

------------------------------------------------------------------------
[2016-08-08 14:57:03] cmb@php.net

That might be related to dropping support for sslv2 streams as of
PHP 7.1.0, see
<https://github.com/php/php-src/blob/PHP-7.1.0beta2/UPGRADING#L74-L75>.

Have you considered to also ask on an appropriate SquirrelMail
support channel?

------------------------------------------------------------------------
[2016-08-08 10:36:11] japs at bistruphave dot dk

Description:
------------
I have run Squirrelmail (squirrelmail-20151221_0200-SVN) without any problems in PHP 7.0.8, Apache
2.4.23, and OpenSSL 1.0.2.h.

When I upgrade to 7.1.0.beta1 or 2, I receive the following error as soon as squirrelmail is called
(a login page is expected):

ERROR
Error connecting to IMAP server: bistruphave.dk.
IMAP STARTTLS is enabled in SquirrelMail configuration, but used IMAP server does not support
STARTTLS.

The IMAP server is a UW server, and the same for the two versions of PHP.

Apart for timezone nothing is changed in php.ini




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=72781&edit=1


Thread (4 messages)

« previous php.bugs (#203976) next »