Roundcube Community Forum

Miscellaneous => Roundcube Discussion => Topic started by: deepakknair85 on December 26, 2012, 01:41:49 AM

Title: IMAP ERROR on roundcube login screen
Post by: deepakknair85 on December 26, 2012, 01:41:49 AM
Hi.

One of my client have installed Roundcube Webmail system to their panel as a mail module. It was working properly, but recently I am getting an error like this IMAP Error: Authentication for xxxx.xxx.xxx@xxxx.xxx.xxx failed (LOGIN): "a001 NO Login failed: authentication failure". I searched a lot on this issue, but couldn't find any fix.

Can anybody please help me on this? The system was setup by my client and I am web developer, I am not much aware about the admin settings of this webmail and how he configured this? If you have any idea about this issue, please help me.

Thanks All
Title: Re: IMAP ERROR on roundcube login screen
Post by: SKaero on December 26, 2012, 04:44:23 PM
If nothing has changed in the RoundCube configuration something changed with the mail server. Try changing the $rcmail_config['imap_auth_type'] in <RC root>/config/main.inc.php.
Title: Re: IMAP ERROR on roundcube login screen
Post by: deepakknair85 on December 27, 2012, 12:47:19 AM
Hi Skaero,

I checked the main.inc.php file, the imap_auth_type is set as "NULL".
Title: Re: IMAP ERROR on roundcube login screen
Post by: SKaero on December 27, 2012, 01:11:49 AM
Ok, enable imap_debug in the main.inc.php and post the log of an attempted login.
Title: Re: IMAP ERROR on roundcube login screen
Post by: deepakknair85 on December 27, 2012, 01:55:00 AM
Thanks SKaero,

I have done as you said and I got the following report on log file when I took roundcube login page.

[27-Dec-2012 17:52:09 +1100]: S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS] example.com Cyrus IMAP4 v2.3.7-Invoca-RPM-2.3.7-12.el5_7.2 server ready
[27-Dec-2012 17:52:09 +1100]: C: cp01 CAPABILITY
[27-Dec-2012 17:52:09 +1100]: S: * CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS ACL RIGHTS=kxte QUOTA MAILBOX-REFERRALS NAMESPACE UIDPLUS NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT SORT=MODSEQ THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE CATENATE CONDSTORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE URLAUTH
[27-Dec-2012 17:52:09 +1100]: S: cp01 OK Completed
[27-Dec-2012 17:52:09 +1100]: C: a001 LOGIN "xxx.xxxx..xxx@xxx.xxxx..xxx" "xxxxx"
[27-Dec-2012 17:52:12 +1100]: S: a001 NO Login failed: authentication failure
Title: Re: IMAP ERROR on roundcube login screen
Post by: SKaero on December 28, 2012, 04:37:39 AM
The IMAP server doesn't say what authentication types it allows and since $rcmail_config['imap_auth_type'] is set to NULL is is trying to use login authentication which has most likely been disabled. Try changing $rcmail_config['imap_auth_type'] to 'DIGEST-MD5' and then 'CRAM-MD5' to see if one of those work.
Title: Re: IMAP ERROR on roundcube login screen
Post by: KotSeamen on October 04, 2013, 05:56:10 PM
Please correct /etc/dovecot/dovecot.conf,  leave only "plain" method

Code: [Select]
auth default {
  mechanisms = plain
Title: Re: IMAP ERROR on roundcube login screen
Post by: jburga on April 20, 2015, 12:59:01 PM

hello

i have installed on my server zpanel
when i try to see my email from roundcube
i have this error message

Error conexion with the server IMAP

could you please help me