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,899 thoughts on “RoundCube 0.7.1 login failed”

  1. latest online casino uk, usa mobile casinos no deposit bonus and craps
    betting usa, or united statesn online casino games practice play (Scotty) best

  2. play free pokies usa, best android casinos 1 high (Leilani) online slot sites new zealand and no deposit free bonus spins
    usa aug, 28,2021, or new zealandn online gambling pokies

  3. I’m not sure why but this weblog is loading incredibly
    slow for me. Is anyone else having this problem or is it a issue on my end?
    I’ll check back later and see if the problem
    still exists.

  4. Hi, i read your blog occasionally and i own a similar one and i was just curious if you get a lot of spam remarks?

    If so how do you protect against it, any plugin or anything
    you can suggest? I get so much lately it’s driving me insane so any support is
    very much appreciated.

  5. online gambling in latin united states, european roulette betting uk and casino listings usa, or gambling case study united states

    Here is my web-site; age to gamble at harrah’s
    cherokee (Bryon)

  6. how to win win casino app download (Pearl) on pokie machines australia, real pokies canada
    and australia online poker legal, or 5 dollar deposit casino united kingdom

  7. I’m impressed, I have to admit. Seldom do I encounter a blog that’s both educative and interesting, and
    let me tell you, you have hit the nail on the head. The problem is an issue
    that not enough folks are speaking intelligently
    about. I’m very happy I found this in my hunt for something relating to this.

  8. online pokies reviews australia, free $25 online bingo australia
    and modded goldfish casino apk (Chas)
    chips value uk, or casino uk free spins

  9. best casino app in usa, web gambling usa and new no deposit casino bonus uk, or does
    united kingdom have casinos

    my page :: roulette line strategy (Stanton)

  10. ontario australia online casino, 888 poker download united states
    and windsor casino in united states, or bet365 play united statesn roulette
    online uk

    My blog – casinos galway (Lin)

  11. online pokies australia 5 dollar deposit,
    united kingdom online casino accepts poli and best online
    casino app usa, or where can i play online pokies in united states

    Here is my website: keno past winning numbers (Curt)

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>