|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72781 Squirrelmail login failure
Submitted: 2016-08-08 10:36 UTC Modified: 2016-09-12 18:44 UTC
From: japs at bistruphave dot dk Assigned: bukka (profile)
Status: Not a bug Package: OpenSSL related
PHP Version: 7.1.0beta2 OS: centos 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
38 - 35 = ?
Subscribe to this entry?

 [2016-08-08 10:36 UTC] japs at bistruphave dot dk
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 connecting to IMAP server:
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-08 14:57 UTC]
That might be related to dropping support for sslv2 streams as of
PHP 7.1.0, see

Have you considered to also ask on an appropriate SquirrelMail
support channel?
 [2016-08-09 08:02 UTC] 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-09-12 18:16 UTC]
-Status: Open +Status: Not a bug
 [2016-09-12 18:16 UTC]
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."));

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.
 [2016-09-12 18:44 UTC]
-Assigned To: +Assigned To: bukka
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Feb 07 03:05:52 2023 UTC