#17600 [Com]: imap_open doesn't connect

From: Date: Fri, 11 Apr 2003 11:49:04 +0000
Subject: #17600 [Com]: imap_open doesn't connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37564@lists.php.net to get a copy of this message
ID: 17600 Comment by: marc dot bartel at bacomdesigns dot de Reported By: ajep22 at yahoo dot com Status: Bogus Bug Type: IMAP related Operating System: RedHat 7.3 PHP Version: 4.2.1 New Comment: I had the same problem, but now it works with /notls BUT WHY ??? Previous Comments: ------------------------------------------------------------------------ [2002-06-23 13:54:59] theodore at mts dot net I have exactly the same problem on redhat 7.2 with updated imap-2001a packages... My system is a duron 650 with 384 MB of RAM RedHat 7.2 php-4.2.1 apache 1.3.26 and imap c-client version 2001a php config as follows: System Linux linux 2.4.9-31 #1 Tue Feb 26 06:23:51 EST 2002 i686 unknown Build Date Jun 22 2002 19:54:03 Configure Command './configure' '--quiet' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--enable-track-vars' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-ftp' '--enable-sockets' '--with-gettext' '--with-mm=../mm-1.1.3' '--with-zlib' '--enable-exif' '--with-gd=/home/theodore/compile/gd-2.0.1/' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-tt' '--enable-mbstring' Server API Apache Virtual Directory Support disabled Configuration File (php.ini) Path /usr/local/lib/php.ini Debug Build no Thread Safety disabled everything else in php works fine... except for using the imap module to connect to an imap server (it works to connet to a pop server) i also get the following lines in /var/log/maillog Jun 23 12:43:26 linux imapd[8070]: imap service init from 192.168.0.2 Jun 23 12:43:26 linux imapd[8070]: Command stream end of file, while reading line user=??? host=UNKNOWN ------------------------------------------------------------------------ [2002-06-17 18:44:51] vince at sixpak dot org Add /notls to the connection string. ------------------------------------------------------------------------ [2002-06-11 09:00:08] hilbert_mostert at hotmail dot com Hello, I am experiencing the same problem on RedHat 7.3 with PHP 4.2.1 and Imap support, RH 7.3 uses c-client version 2001a My system is a PII-400 with 320 Megabytes of ram RedHat 7.3, php-4.2.1, apache 1.3.23, and imap c-client version 2001a This is all the info i can give, there are no more error messages. The imap server itself works correctly when using other e-mail clients. Sindcerely, Hilbert ------------------------------------------------------------------------ [2002-06-04 17:52:04] sniper@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-06-04 17:05:59] ajep22 at yahoo dot com I tried a lot of connection string... i'm crazy now. really. The log said: (with every string i try...) Jun 4 16:48:09 server imapd[1704]: imap service init from 10.1.1.1 Jun 4 16:48:11 server imapd[1704]: Command stream end of file, while reading line user=??? host=UNKNOWN and php said: Warning: Couldn't open stream {10.1.1.1:143} in /var/www/html/webmailtest/login.php on line 3 so... please somebody help me :) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17600&edit=1

« previous php.bugs (#37564) next »