Roundcube Community Forum

Release Support => Pending Issues => Topic started by: SeToY on May 04, 2011, 12:35:55 AM

Title: [0.5.2] Unable to connect to IMAP Server
Post by: SeToY on May 04, 2011, 12:35:55 AM
Hey,

since a few days (where the last 5 weeks worked just fine O_o), I'm getting this random error mentioned above when I'm trying to login.

"Unable to connect to IMAP Server"

The Errorlog says:
[04-May-2011 07:23:55 +0300]: IMAP Error: Login failed for [email protected] from 12.34.56.78. Empty startup greeting (localhost:143) in C:\inetpub\wwwroot\webmail\program\include\rcube_imap.php on line 192 (POST /?_task=login&_action=login)
[04-May-2011 07:29:00 +0300]: IMAP Error: Login failed for [email protected] from 12.34.56.78. Empty startup greeting (localhost:143) in C:\inetpub\wwwroot\webmail\program\include\rcube_imap.php on line 192 (POST /?_task=login&_action=login)
[04-May-2011 07:33:10 +0300]: IMAP Error: Login failed for [email protected] from 12.34.56.78. Empty startup greeting (localhost:143) in C:\inetpub\wwwroot\webmail\program\include\rcube_imap.php on line 192 (POST /?_task=login&_action=login)

What can I do to prevent this?

Thanks and Greetings

SeToY
Title: [0.5.2] Unable to connect to IMAP Server
Post by: sirio81 on May 04, 2011, 05:13:34 AM
I'm having the same problem.
I installed roundcube 0.5.2 on a debian lenny (apache2 + mysql).
Everything went fine during installation precess, also the last tests (smtp and imap).

Now I'm trying to login to round cube and it always says
[04-May-2011 08:23:02 +0200]: IMAP Error: Login failed for [email protected] from 192.168.1.249. AUTHENTICATE PLAIN: Authentication failed. in /var/www/roundcube/program/include/rcube_imap.php on line 192 (POST /roundcube/?_task=login&_action=login)
What I find realy strange is that 'from 192.168.1.249' is not my mailserver ip!
In main.php.ini, I have
$rcmail_config['default_host'] = 'mailserver';and the host name correspond to 192.168.1.248 ip address, NOT 192.168.1.249!
ping mailserver
PING mailserver (192.168.1.248) 56(84) bytes of data.

I tried to change $rcmail_config['default_host'] value with a differnt ip, like 192.168.2.77 but the log message still shows 192.168.1.249.

Roundcube is running on a virtual machine. The phisical server has the ip 192.168.1.249 but there shouldn't be any relation.

grep -R 192.168.1.249 /var/www/roundcube
shows nothing (exept the log), so this ip is not present in any roundcube configuration file.

Finaly, I installed phpmyadmin and searched '192.168.1.249' along the whole database; the only matches were found in the 'session' table.
Title: [0.5.2] Unable to connect to IMAP Server
Post by: sirio81 on May 04, 2011, 05:34:08 AM
Did you change password recently?
Title: [0.5.2] Unable to connect to IMAP Server
Post by: SeToY on May 04, 2011, 05:42:04 AM
Thanks for your answer :)

Nope, I didn't change my password recently.
Title: [0.5.2] Unable to connect to IMAP Server
Post by: dshepherd on May 04, 2011, 06:00:37 AM
Perhaps this thread may help http://www.roundcubeforum.net/5-release-support/17-pending-issues/5135-empty-startup-greeting.html
Title: [0.5.2] Unable to connect to IMAP Server
Post by: SeToY on May 04, 2011, 07:27:57 AM
Thanks for your post, but I'm not using SSL, nor does my Client (Outlook 2010).