Author Topic: [0.5.2] Unable to connect to IMAP Server  (Read 5157 times)

Offline SeToY

  • Newbie
  • *
  • Posts: 3
[0.5.2] Unable to connect to IMAP Server
« 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:
Code: [Select]
[04-May-2011 07:23:55 +0300]: IMAP Error: Login failed for my@email.tld 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 my@email.tld 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 my@email.tld 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

Offline sirio81

  • Newbie
  • *
  • Posts: 1
[0.5.2] Unable to connect to IMAP Server
« Reply #1 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
Code: [Select]
[04-May-2011 08:23:02 +0200]: IMAP Error: Login failed for mario@aironegifts.com 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
Code: [Select]
$rcmail_config['default_host'] = 'mailserver';and the host name correspond to 192.168.1.248 ip address, NOT 192.168.1.249!
Code: [Select]
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.
« Last Edit: May 04, 2011, 05:19:48 AM by sirio81 »

Offline sirio81

  • Newbie
  • *
  • Posts: 1
[0.5.2] Unable to connect to IMAP Server
« Reply #2 on: May 04, 2011, 05:34:08 AM »
Did you change password recently?

Offline SeToY

  • Newbie
  • *
  • Posts: 3
[0.5.2] Unable to connect to IMAP Server
« Reply #3 on: May 04, 2011, 05:42:04 AM »
Thanks for your answer :)

Nope, I didn't change my password recently.

Offline dshepherd

  • Jr. Member
  • **
  • Posts: 87

Offline SeToY

  • Newbie
  • *
  • Posts: 3
[0.5.2] Unable to connect to IMAP Server
« Reply #5 on: May 04, 2011, 07:27:57 AM »
Thanks for your post, but I'm not using SSL, nor does my Client (Outlook 2010).