php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17308 Connexion problem
Submitted: 2002-05-18 09:05 UTC Modified: 2002-05-23 09:42 UTC
Votes:3
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: vince dot h at ifrance dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4.2.1 OS: RedHat 7.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vince dot h at ifrance dot com
New email:
PHP Version: OS:

 

 [2002-05-18 09:05 UTC] vince dot h at ifrance dot 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-23 09:31 UTC] denis at cinetica dot 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-23 09:36 UTC] vince dot h at ifrance dot 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:42 UTC] sniper@php.net
Yes, this is not PHP problem at all..

 [2002-05-23 09:46 UTC] vince dot h at ifrance dot com
yes but whith a imap client i have no problem to connect to the imap server...
 [2002-05-23 10:35 UTC] denis at cinetica dot it
... 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" :-)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC