Author Topic: IMAP with PHP 5.2.9  (Read 6323 times)

Offline AlexA

  • Newbie
  • *
  • Posts: 1
IMAP with PHP 5.2.9
« on: September 10, 2009, 01:16:48 PM »
Running a compiled version of Apache 2.2.11 and PHP 5.2.9 on CentOS 4.8. My problem is Roundcube .3 will not connect to IMAP. I set :

Code: [Select]
$rcmail_config['default_host'] = 'localhost';

and I get a "Connection to IMAP server failed" and this in the error log :

Code: [Select]
IMAP Error: Empty startup greeting (localhost:143) (POST /webmail2/?_task=&_action=login)

If I telnet to IMAP, my greeting is :

* OK dovecot ready.

Upgrading to PHP 5.3.0 does not help and in fact shows functions being used that are deprecated (saw this as a pending issue). I read here that downgrading to 5.2.6 works. I'd like to avoid doing this. I also tried what was suggested there and it does not work.

Note that Roundcube .2.2 works properly.

Any ideas?

-Alex

Offline pyrophin

  • Newbie
  • *
  • Posts: 4
IMAP with PHP 5.2.9
« Reply #1 on: September 20, 2009, 02:06:29 AM »
Im getting the same error - im not using SSL on anything and I know my login credentials are correct. The client sitting on my mailserver is connecting without a problem, when I telnet to 192.168.0.102 143 im greeted with the IMAP prompt


The full error from the roundcube /logs directory is:
Code: [Select]

[20-Sep-2009 01:44:56 -0400]: IMAP Error: Empty startup greeting (192.168.0.102:143) (POST /roundcubemail/?_task=&_action=login)


I am runninng PHP: 5.2.6-3

I've checked out my config file and im still not sure where else to look - everything looks correct to me, any help would be appreciated!!

Offline vtzan

  • Newbie
  • *
  • Posts: 4
IMAP with PHP 5.2.9
« Reply #2 on: December 01, 2009, 05:31:56 AM »
Quote from: pyrophin;21513
Im getting the same error - im not using SSL on anything and I know my login credentials are correct. The client sitting on my mailserver is connecting without a problem, when I telnet to 192.168.0.102 143 im greeted with the IMAP prompt


The full error from the roundcube /logs directory is:
Code: [Select]

[20-Sep-2009 01:44:56 -0400]: IMAP Error: Empty startup greeting (192.168.0.102:143) (POST /roundcubemail/?_task=&_action=login)


I am runninng PHP: 5.2.6-3

I've checked out my config file and im still not sure where else to look - everything looks correct to me, any help would be appreciated!!




same problem here:
[01-Dec-2009 12:31:19 +0200]: IMAP Error: Empty password (POST /?_task=&_action=login)
[01-Dec-2009 12:31:19 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:20 +0200]: IMAP Error: Empty password (POST /?_task=&_action=login)
[01-Dec-2009 12:31:21 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:21 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:22 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:24 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:25 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:27 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:28 +0200]: IMAP Error: Empty startup greeting (localhost:143) (POST /?_task=&_action=login)
[01-Dec-2009 12:31:41 +0200]: IMAP Error: Empty startup greeting (localhost:143) (GET /?_task=mail&_action=getunread&_remote=1&_=1259663474406&_unlock=0)

any update?

thanks