RoundCube 0.7.1 login failed

Note to readers: RoundCube 0.7.1 uses the Iloha IMAP Library. RoundCube 0.7.2 does not, so this particular problem may already be fixed.

In the past I’ve had to enable PLAIN IMAP authentication because older versions of M$ Outlook didn’t support CRAM-MD5 authentication. This means that my IMAP server advertises CRAM-MD5 as well as PLAIN as possible authentication methods.

All my clients who wanted to login using PLAIN cannot login using CRAM-MD5 because their passwords have to be stored in a different format.

A problem occurs when you set RoundCube’s “imap_auth_type” to “check”, because it picks CRAM-MD5 over PLAIN every time. I don’t want this to happen because some of my clients cannot login using CRAM-MD5. Ideally RoundCube should be following RFC3501:

If an AUTHENTICATE command fails with a NO response, the client MAY try another authentication mechanism by issuing another AUTHENTICATE command. It MAY also attempt to authenticate by using the LOGIN command

…but RoundCube doesn’t. To temporarily fix the problem you should be able to set “imap_auth_type” to “plain” so that RoundCube always uses PLAIN to authenticate against the IMAP server. However, I found that this does not work in 0.7.1 because of the following problem:

RoundCube passes options to the iil_Connect function of the Iloha IMAP Library. The options object includes a property “auth_method”, meant to control the authentication method, but this is never used, because the iil_Connect method expects this property to be named “imap”.

Line 382 of /program/include/rcmail.php is where the options object is defined – I simply changed ‘auth_method’ to ‘imap’.

12,896 thoughts on “RoundCube 0.7.1 login failed”

  1. casino in toronto ontario australia, cost of
    gambling license in south africa (Kelle)
    northeast usa and casinos in saskatchewan united
    states, or australian online pokies real money

  2. new zealandn no deposit bonus casinos, is it legal to play online
    slots in australia and dollar 5 deposit online
    pearl river casino players card (Dane) australia, or australia
    online gambling stock

  3. I’m really enjoying the theme/design of your website.
    Do you ever run into any internet browser compatibility problems?

    A handful of my blog visitors have complained about my website not operating correctly in Explorer but looks great in Opera.
    Do you have any solutions to help fix this
    issue?

  4. united kingdom casino slots tips gambling, slot machines canada for sale and lucky lusae slot machine, or poker sites australia 2021

    Here is my web page :: inspector barnaby britisches roulette
    synchronkartei (Inez)

  5. I enjoy, cause I found exactly what I was taking a look for.
    You’ve ended my 4 day lengthy hunt! God Bless you man. Have a nice day.

    Bye

  6. I have read some just right stuff here. Certainly value
    bookmarking for revisiting. I wonder how much effort you place
    to create this sort of excellent informative web site.

  7. Hello there! Do you know if they make any plugins to
    assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m
    not seeing very good results. If you know of any
    please share. Many thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>