Author Topic: RC using CRAM-MD5 authentication, not PLAIN  (Read 4575 times)

Offline jlbrown

  • Jr. Member
  • **
  • Posts: 20
RC using CRAM-MD5 authentication, not PLAIN
« 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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
RC using CRAM-MD5 authentication, not PLAIN
« Reply #1 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";

Offline jlbrown

  • Jr. Member
  • **
  • Posts: 20
RC using CRAM-MD5 authentication, not PLAIN
« Reply #2 on: September 09, 2009, 08:18:28 AM »
Quote from: alec;21073
should 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

Offline jlbrown

  • Jr. Member
  • **
  • Posts: 20
RC using CRAM-MD5 authentication, not PLAIN
« Reply #3 on: September 09, 2009, 08:28:58 AM »
Tried:

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

Restarted Apache.

Same error.

Offline jabetcha

  • Newbie
  • *
  • Posts: 1
RC using CRAM-MD5 authentication, not PLAIN
« Reply #4 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

Offline rhaps

  • Newbie
  • *
  • Posts: 3
RC using CRAM-MD5 authentication, not PLAIN
« Reply #5 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.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
RC using CRAM-MD5 authentication, not PLAIN
« Reply #6 on: November 08, 2009, 05:23:27 AM »
sounds like it could be this #1486263 (Config option imap_auth_type was broken) ? Roundcube Webmail fixed in trunk, can any one confirm?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline rhaps

  • Newbie
  • *
  • Posts: 3
RC using CRAM-MD5 authentication, not PLAIN
« Reply #7 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 !