Author Topic: Roundcube Error Connection to IMAP server failed. HELP!  (Read 3990 times)

Offline LukePaul

  • Newbie
  • *
  • Posts: 1
Roundcube Error Connection to IMAP server failed. HELP!
« on: April 02, 2013, 09:59:34 AM »
Hello I'm New To This So I Hope This Is In The Right Place..


OK So Today i set up my Hmail server for my new website and after setting it up i everything works fine i tested it by setting up an account and getting it to foward the email to me but i wanted a webmail so my friend told me about Roundcube so i Install and When i Log In i Get This


Connection to IMAP server failed.

My Friend Told Me To Edit This Line 

$rcmail_config['debug_level'] = 1;
To
$rcmail_config['debug_level'] = 4;

Now This Shows When i load The Page

IMAP Error in C:\inetpub\mail\program\include\rcube_imap.php (191): Login failed for admin@remsade.co.uk from MY IP!. Empty startup greeting (remsade.co.uk:143)

Help Please

Offline blubcube

  • Jr. Member
  • **
  • Posts: 16
Re: Roundcube Error Connection to IMAP server failed. HELP!
« Reply #1 on: April 02, 2013, 10:44:10 AM »
Is this bevor or after login?

If you try to login and get this
Is this realy your Username?

I had to use an username and Password for my login not the e-mail address
This seems to be your e-mail Address and not your username


Offline alec

  • Hero Member
  • *****
  • Posts: 1,095
Re: Roundcube Error Connection to IMAP server failed. HELP!
« Reply #2 on: April 02, 2013, 01:57:57 PM »
Looks like a connection issue (not authentication). Can you connect to this host and port using telnet command? Don't use debug_level=4.

Offline LAMurakami

  • Newbie
  • *
  • Posts: 2
Re: Roundcube Error Connection to IMAP server failed. HELP!
« Reply #3 on: August 09, 2018, 07:12:40 PM »
In my case this error was fixed by modifying the /etc/hosts to replace the localhost line with a line that has FullyQualifiedDomainName short-name localhost and deleting a second line that had the short-name.  I know this is an old post but I have not seen this answer elsewhere.