Roundcube Community Forum

Release Support => Pending Issues => Topic started by: jlbrown on September 09, 2009, 01:33:17 AM

Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: jlbrown on September 09, 2009, 01:33:17 AM
I'm getting this in my Dovecot log:

imap-login: Disconnected (auth failed, 1 attempts): user=, method=CRAM-MD5, rip=192.168.1.29, lip=192.168.1.9

This is from the Test IMAP Configuration section of the web installer.

My settings from main.inc.php:

// TCP port used for IMAP connections
$rcmail_config['default_port'] = 143;

// IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect.
// Optional, defaults to "check"
$rcmail_config['imap_auth_type'] = plain;

Any ideas?

Thanks,

James.
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: alec on September 09, 2009, 03:56:57 AM
Quote from: jlbrown;21066$rcmail_config['imap_auth_type'] = plain;
Any ideas?
should be:
$rcmail_config['imap_auth_type'] = "plain";
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: jlbrown on September 09, 2009, 08:18:28 AM
Quote from: alec;21073should be:
$rcmail_config['imap_auth_type'] = "plain";

I've changed it to this but it still gives me the same error:

// IMAP auth type. Can be "auth" (CRAM-MD5), "plain" (PLAIN) or "check" to auto detect.
// Optional, defaults to "check"
$rcmail_config['imap_auth_type'] = "plain";

Is the previous value being cached somewhere? I've restarted Apache and the browser (Safari).

James
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: jlbrown on September 09, 2009, 08:28:58 AM
Tried:

$rcmail_config['imap_auth_type'] = 'plain';

Restarted Apache.

Same error.
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: jabetcha on September 17, 2009, 04:57:02 PM
I am also getting a similar error:

dovecot: imap-login: Disconnected (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: rhaps on November 07, 2009, 02:08:57 PM
Same problem with me.
PLAIN is not taken by 0.3.1 it used MD5 instead.

I had to revert back to 0.3.0 to authenticate users.
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: JohnDoh on November 08, 2009, 05:23:27 AM
sounds like it could be this #1486263 (Config option imap_auth_type was broken) ? Roundcube Webmail (http://trac.roundcube.net/ticket/1486263) fixed in trunk, can any one confirm?
Title: RC using CRAM-MD5 authentication, not PLAIN
Post by: rhaps on November 08, 2009, 12:53:40 PM
Thank you , I applied the fix on imap.inc similar to the fix you mentioned it worked !
Perfect !