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.
Quote from: jlbrown;21066$rcmail_config['imap_auth_type'] = plain;
Any ideas?
should be:
$rcmail_config['imap_auth_type'] = "plain";
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
Tried:
$rcmail_config['imap_auth_type'] = 'plain';
Restarted Apache.
Same error.
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
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.
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?
Thank you , I applied the fix on imap.inc similar to the fix you mentioned it worked !
Perfect !