Roundcube Community Forum

 

[0.5.2] Unable to connect to IMAP Server

Started by SeToY, May 04, 2011, 12:35:55 AM

Previous topic - Next topic

SeToY

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

sirio81

#1
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.

sirio81


SeToY

Thanks for your answer :)

Nope, I didn't change my password recently.


SeToY

Thanks for your post, but I'm not using SSL, nor does my Client (Outlook 2010).