Dear all,
I'm using Postfix + Dovecot + Mysql + RoundCube webmail. The password saved in Mysql database is *MD5-CRYPT*.
In Dovecot configuration, I set the authentication mechanisms:
*auth default { mechanisms = plain login digest-md5 cram-md5 }*
In Round Cube main.inc.php, I set: *$rcmail_config['imap_auth_type'] = "auth"; //CRAM-MD5*
But I cannot login. If I change the *imap_auth_type* to *Plain*, I can login smoothly.
Cound you please help me how to enable authentication login for Round Cube?
BRs/Minh.
List info: http://lists.roundcube.net/users/ BT/9b404e9e
Op 22-11-2010 3:45, Minh Nguyen schreef:
Dear all,
I'm using Postfix + Dovecot + Mysql + RoundCube webmail. The password saved in Mysql database is *MD5-CRYPT*.
In Dovecot configuration, I set the authentication mechanisms:
*auth default { mechanisms = plain login digest-md5 cram-md5 }*
In Round Cube main.inc.php, I set: *$rcmail_config['imap_auth_type'] = "auth"; //CRAM-MD5*
But I cannot login. If I change the *imap_auth_type* to *Plain*, I can login smoothly.
Cound you please help me how to enable authentication login for Round Cube?
BRs/Minh.
Hi Minh,
I have exactly the same setup with postfix/dovecot/roundcube/mysql/postfixadmin. I can use all login modes ssl/tls starttls on port 110, 143, 993, 995.
I have In dovecot: auth default { mechanisms = plain login
and in roundcube: $rcmail_config['imap_auth_type'] = null; $rcmail_config['smtp_auth_type'] = '';
Which is the default in the distro. I/m affraid thzat the doc is bit confusing on this topic...
HTH Egbert Jan
List info: http://lists.roundcube.net/users/ BT/9b404e9e
Am Montag, 22. November 2010, um 03:45:14 schrieb Minh Nguyen:
Dear all,
I'm using Postfix + Dovecot + Mysql + RoundCube webmail. The password saved in Mysql database is *MD5-CRYPT*.
In Dovecot configuration, I set the authentication mechanisms:
*auth default { mechanisms = plain login digest-md5 cram-md5 }*
In Round Cube main.inc.php, I set: *$rcmail_config['imap_auth_type'] = "auth"; //CRAM-MD5*
If you want to offer CRAM-MD5 and DIGEST-MD5 mechanism you have store passwords in plaintext:
"The problem with non-plaintext auth mechanisms is that the password must be stored either in plaintext, or using a mechanism-specific scheme that's incompatible with all other non-plaintext mechanisms. For example if you're going to use CRAM-MD5 authentication, the password needs to be stored in either PLAIN or CRAM-MD5 scheme. If you want to allow both CRAM-MD5 and DIGEST-MD5, the password must be stored in plaintext. "
(see http://wiki.dovecot.org/Authentication/PasswordSchemes#line-32)
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/e3/ty431DUk/signature.asc Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/users/ BT/9b404e9e