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 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-03 Thread Dmitry Katsubo
me problem and I have created a patch (090_ssl.dpatch) for squirrelmail v1.5.1. If you don't use self-signed certificate on Cyrus, then you don't need allow_self_signed=true. I also attach few other patches (which perhaps are already this way or another present in upstream): 080_global.