Bug #17308 Updated: Connexion problem

From: Date: Thu, 23 May 2002 14:35:19 +0000
Subject: Bug #17308 Updated: Connexion problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8335@lists.php.net to get a copy of this message
ID: 17308 Updated by: denis@cinetica.it Reported By: vince.h@ifrance.com Status: Bogus Bug Type: IMAP related Operating System: RedHat 7.3 PHP Version: 4.2.1 New Comment: ... and I have no problem connecting from a remote server with redhat 7.2 and php 4.0.6, to the same imap server and without /novalidate-cert... The /novalidate-cert could be only a workaround... but I don't know what really means this option and if this type of "validation" could be useful... Sorry if my english is not "perfect" :-) Previous Comments: ------------------------------------------------------------------------ [2002-05-23 09:46:17] vince.h@ifrance.com yes but whith a imap client i have no problem to connect to the imap server... ------------------------------------------------------------------------ [2002-05-23 09:42:51] sniper@php.net Yes, this is not PHP problem at all.. ------------------------------------------------------------------------ [2002-05-23 09:36:59] vince.h@ifrance.com Ok i have found the solution... i thinks that's a imap server problem. u must add "/imap/novalidate-cert" in your connexion string for ex: "{127.0.0.1:143/imap/novalidate-cert}". I have found this when i print the array return by imap_errors: "Certificate failure for 127.0.0.1: self signed certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=localhost.localdomain/Email=root@localhost.localdomain" ------------------------------------------------------------------------ [2002-05-23 09:31:02] denis@cinetica.it I have the same problem with a Red Hat 7.3 installation. PHP packages: php-imap-4.1.2-7 php-pgsql-4.1.2-7 php-mysql-4.1.2-7 php-4.1.2-7 php-ldap-4.1.2-7 php-odbc-4.1.2-7 Imap version: imap-2001a-10 ------------------------------------------------------------------------ [2002-05-18 09:05:04] vince.h@ifrance.com I have upgrade my server, redhat 7.2 to 7.3 and i have yet some new package for php. I cant make a correct connexion to my imap server: Couldn't open stream {127.0.0.1:143} in the maillog: May 18 15:01:36 vincelx01 imapd[8025]: imap service init from 127.0.0.1 May 18 15:01:36 vincelx01 imapd[8025]: Command stream end of file, while reading line user=??? host=UNKNOWN have u a idea? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17308&edit=1

« previous php.bugs (#8335) next »