Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2019-02-28 Thread Volodymyr Boyko
Hi you can find all possible options here: http://php.net/manual/en/context.ssl.php probably you were looking for 'allow_self_signed' option. Also this config works for me to completely disable cert checks: $imap_stream_options = array( 'tls' => array( 'verify_peer' => fa

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-10 Thread Julien Métairie
Le 09/01/2016 20:31, Paul Lesniewski a écrit : > On 1/8/16, Julien Métairie wrote: > > If you are using some version provided by Debian, please direct your > inquiry to them. > > [...] > > Yes, and if you do not find stream_socket_client() inside a function > called sqimap_create_stream() that is

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-10 Thread Julien Métairie
Le 10/01/2016 22:11, Dmitry Katsubo a écrit : > On 09/01/2016 22:54, Paul Lesniewski wrote: >>> I haven't checked the complete sources (and I am neither king on PHP), >>> but as far as I see from my patch, the options should be set on the >>> stream. You basically need to apply the function which I

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-10 Thread Dmitry Katsubo
On 09/01/2016 22:54, Paul Lesniewski wrote: >> I haven't checked the complete sources (and I am neither king on PHP), >> but as far as I see from my patch, the options should be set on the >> stream. You basically need to apply the function which I define in my >> patch on the stream (hence you don

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-09 Thread Paul Lesniewski
On 1/9/16, Dmitry Katsubo wrote: > On 08/01/2016 18:32, Julien Métairie wrote: >> As far as I understand, stream_socket_client() should be used instead of >> fsockopen() and a context should be passed as 6th argument. That's why I >> tried the following : >> >> $imap_stream_options = array( >>

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-09 Thread Dmitry Katsubo
On 08/01/2016 18:32, Julien Métairie wrote: > As far as I understand, stream_socket_client() should be used instead of > fsockopen() and a context should be passed as 6th argument. That's why I > tried the following : > > $imap_stream_options = array( > 'tls' => array( > 'verify_peer'

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-09 Thread Paul Lesniewski
On 1/8/16, Julien Métairie wrote: > Message original > Sujet : Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server > after upgrading to PHP 5.6 > De : Dmitry Katsubo > Pour : Squirrelmail User Support Mailing List > > Copie à : Julien Métairie

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-09 Thread Paul Lesniewski
On 1/3/16, Dmitry Katsubo wrote: > On 26/12/2015 22:52, Paul Lesniewski wrote: >> On 12/14/15, Julien Métairie wrote: >>> Hi list, >>> >>> I am trying to upgrade my server running Squirrelmail from Debian Wheezy >>> to Jessie. >>> >>> IMAP server is Courier-ssl using a self-signed certificate. >>

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-08 Thread Julien Métairie
Message original Sujet : Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6 De : Dmitry Katsubo Pour : Squirrelmail User Support Mailing List Copie à : Julien Métairie Date : 03/01/2016 22:05 > On 26/12/2015 22:52, Paul Lesniew

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2016-01-03 Thread Dmitry Katsubo
On 26/12/2015 22:52, Paul Lesniewski wrote: > On 12/14/15, Julien Métairie wrote: >> Hi list, >> >> I am trying to upgrade my server running Squirrelmail from Debian Wheezy >> to Jessie. >> >> IMAP server is Courier-ssl using a self-signed certificate. >> >> Also note that Squirrelmail connects to

Re: [SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2015-12-26 Thread Paul Lesniewski
On 12/14/15, Julien Métairie wrote: > Hi list, > > > > I am trying to upgrade my server running Squirrelmail from Debian Wheezy > to Jessie. > > IMAP server is Courier-ssl using a self-signed certificate. > > Also note that Squirrelmail connects to 192.168.xx.xx, while the > certificate is (auto-)

[SM-USERS] Squirrelmail does not connect to SSL IMAP server after upgrading to PHP 5.6

2015-12-14 Thread Julien Métairie
Hi list, I am trying to upgrade my server running Squirrelmail from Debian Wheezy to Jessie. IMAP server is Courier-ssl using a self-signed certificate. Also note that Squirrelmail connects to 192.168.xx.xx, while the certificate is (auto-)issued to mail.mydomain.com. After upgrading, con