php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17508 Imap_open doesn't connect
Submitted: 2002-05-29 11:36 UTC Modified: 2002-06-11 10:20 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: amaioli at intelcom dot sm Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.2.1 OS: Solaris 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: amaioli at intelcom dot sm
New email:
PHP Version: OS:

 

 [2002-05-29 11:36 UTC] amaioli at intelcom dot sm
Hi to all!

I'm tring to configure IMP 3.0 webmail. After many configuration I've found a problem in imap_open function, it reply with this message: "Warning: Couldn't open stream {194.183.64.10:110}".  I've tried a lot of connection string but don't work.

My platform has:

Solaris 2.8
Apache 2.0.36
C-client 2001a
PHP 4.2.1
IMP 3.0
HORDE 2.0

Thanks in advanced.

Alessandro Maioli

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-29 11:51 UTC] amaioli at intelcom dot sm
As saied i've tried a lot of connection string. Some examples:

{194.183.64.10:pop3/110}
{194.183.64.10:110/pop3}
{194.183.64.10:110/pop3}INBOX
{194.183.64.10:110}INBOX

etc, etc
 [2002-05-30 07:58 UTC] sniper@php.net
Have you tried these:


{194.183.64.10:110/pop3/notls}INBOX
{194.183.64.10:110/pop3/ssl/novalidate-cert}INBOX

 [2002-05-31 03:33 UTC] amaioli at intelcom dot sm
I've tried both connection strings but doesn't work.
 [2002-05-31 03:44 UTC] amaioli at intelcom dot sm
I've tried both connection strings but doesn't work.
 [2002-06-01 09:13 UTC] sniper@php.net
Do you have access to the imapd logs? And if not, could you
try installing one on your local server and check what the
logs say about it?

And what was your configure line for PHP ? 
And how did you configure c-client? 


 [2002-06-03 03:58 UTC] amaioli at intelcom dot sm
I'm using a pop3 daemon, about log I don't see anything. The call to imap_open return a warning immediatily. With tcpdump seem don't open nothing toward my server.

Regards PHP I give you my configure: 

CFLAG="-g -O2" ./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-versioning --with-ftp --disable-short-tags --enable-trans-sid --disable-debug --with-gnu-ld --with-openssl --with-zlib --with-pdflib=no --with-dom --with-dom-xslt --with-gettext --with-imap=/usr/local/imapd --with-mcrypt 

c-client has been compiled with make (os option gso). There not configuration why I've used only library.

Best regards.
 [2002-06-03 07:40 UTC] sniper@php.net
Are the c-client library and header files really under /usr/local/imapd ? (just looks odd path for them :)

Could you try compiling PHP with ONLY the --with-imap
option? 

Is the pop3d running on the same machine? Try 'localhost' instead of that IP..

 [2002-06-05 10:24 UTC] amaioli at intelcom dot sm
In /usr/local/imapd there are all lib and include files.

I cannot use localhost, i haven't a pop3d localy. However by mean of telnet on 110 with user/password seem work very well.

About compiling I'e tried with --with-imap only but it don't work.

Best regards.
 [2002-06-11 10:20 UTC] amaioli at intelcom dot sm
The problem seem to be on worker feature of apache 2. I've disabled it and now work fine. The bug is on new apache 2 or in PHP?

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 16:01:31 2024 UTC