Roundcube Community Forum

 

RC using CRAM-MD5 authentication, not PLAIN

Started by jlbrown, September 09, 2009, 01:33:17 AM

Previous topic - Next topic

jlbrown

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.

alec

Quote from: jlbrown;21066$rcmail_config['imap_auth_type'] = plain;
Any ideas?
should be:
$rcmail_config['imap_auth_type'] = "plain";

jlbrown

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

jlbrown

Tried:

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

Restarted Apache.

Same error.

jabetcha

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

rhaps

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.

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

rhaps

Thank you , I applied the fix on imap.inc similar to the fix you mentioned it worked !
Perfect !