Roundcube Community Forum

 

IMAP ERROR on roundcube login screen

Started by deepakknair85, December 26, 2012, 01:41:49 AM

Previous topic - Next topic

deepakknair85

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

SKaero

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.

deepakknair85

Hi Skaero,

I checked the main.inc.php file, the imap_auth_type is set as "NULL".

SKaero

Ok, enable imap_debug in the main.inc.php and post the log of an attempted login.

deepakknair85

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 "[email protected]" "xxxxx"
[27-Dec-2012 17:52:12 +1100]: S: a001 NO Login failed: authentication failure

SKaero

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.

KotSeamen

Please correct /etc/dovecot/dovecot.conf,  leave only "plain" method

auth default {
  mechanisms = plain

jburga


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