Roundcube Community Forum

 

Roundcube and Mountain Lion

Started by ccoles, July 16, 2012, 12:39:49 PM

Previous topic - Next topic

ccoles

Hello all,

Running 10.8 server and roundcube connected to MySQL.  All green lights up to Step 3 of install.  Authentication always fails when testing IMAP access.  I've tried all forms of authentication available in the main.inc.php file.

Here is an error in the error log of roundcube:

[16-Jul-2012 09:42:39 -0500]: IMAP Error: Login failed for ccoles from 10.0.0.3. Authentication failed. in /Library/Server/Web/Data/Sites/Webmail/program/include/rcube_imap.php on line 205 (POST /?_task=login&_action=login)

This is in the system log of the OS:

Jul 16 11:34:00 tas2.anthonyschool.org log[220]: auth: Error: od(ccoles,10.0.0.3): authentication failed for user=ccoles, method=DIGEST-MD5

Despite changing the authentication type, DIGEST-MD5 always shows up in the system log.  All authentication methods are enabled on the mail server.

Any help would be appreciated!  Looks like Apple dropped roundcube from the server OS and I'm having to install it myself.

SKaero

The installer doesn't actually read the authentication type from the main.inc.php when trying to connect, does it work if you actually try to login?

ccoles

It did actually work.  However, DIGEST-MD5 and CRAM-MD5 do not work.  LOGIN and PLAIN does work.

Thanks!

Bjorn16

Hi!

i have some problems to!On the new OSX 10.8, after install step 1 and 2 are working step 3 allmost sending a test mail ok smtp not ok.
When i login to the webmail the following error i get...


DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.


please can someone help!

Bjorn

PaSav

Quote from: ccoles on July 16, 2012, 02:44:25 PM
It did actually work.  However, DIGEST-MD5 and CRAM-MD5 do not work.  LOGIN and PLAIN does work.

Thanks!

I got it working with CRAM-MD5.

oldschool

Quote from: PaSav on August 02, 2012, 11:45:34 AM
Quote from: ccoles on July 16, 2012, 02:44:25 PM
It did actually work.  However, DIGEST-MD5 and CRAM-MD5 do not work.  LOGIN and PLAIN does work.

Thanks!

I got it working with CRAM-MD5.

Don't you think it could be interesting howto for others, too?
;)


Rgds.


Peggaweng

Hi,

Mine is always using DIGEST-MD5 no matter what I do. A how to would be great :)

Peggaweng

Ok so LOGIN does not test correctly but does log in.

stvs

Same problem on 10.8.2. I tried:
$rcmail_config['imap_auth_type'] = 'CRAM-MD5';
$rcmail_config['imap_auth_type'] = CRAM-MD5;
$rcmail_config['imap_auth_type'] = null;


All to no avail -- my logs always shows a FAIL on DIGEST-MD5 authentication:

Nov  2 20:33:44 domainname.com log[249]: auth: Error: od(username,10.0.1.3): authentication failed for user=username, method=DIGEST-MD5


So I just turned off DIGEST-MD5 authentication in serveradmin and it worked.

sudo serveradmin settings mail:imap:imap_auth_digest_md5 = no


This looks like a roundcube installer bug -- it's not using the specified authentication method in Mountain Lion.

Matt_D

I had similar issues...but fixed them on ML.

1) Make sure in your main.inc.php file that you set the option as CRAM_MD5 (note the underscore not the dash)
2) If you want to configure managesieve so your users can edit rules again, you'll need to enable CRAM-MD5 (dash this time) in the config.inc.php, force TLS, and specify port 4190.

Hope that helps.

- Matt