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’.

1,202 thoughts on “RoundCube 0.7.1 login failed

  1. It’s appropriate time to make some plans for the longer term and it’s time to be happy.
    I’ve read this publish and if I may just I wish to
    suggest you some fascinating things or tips. Perhaps you could write subsequent articles referring to this article.
    I want to read more issues approximately it!

    My blog post; casino blackjack palmira

  2. slot machines ontario united states, captain cooks casino united states and yukon gold casino, or top 20 online casinos
    usa no deposit

    Feel free to surf to my web site :: wsj investing not gambling – Cary -

  3. Piece of writing writing is also a excitement, if you know after that
    you can write if not it is difficult to write.

  4. I blog often and I really appreciate your information. Your article has really peaked my interest.
    I will book mark your blog and keep checking for new
    details about once a week. I opted in for your Feed too.

  5. Hello, this weekend is good in support of me, as this point in time i am reading this
    fantastic informative piece of writing here at my house.

  6. What’s Going down i’m new to this, I stumbled upon this I’ve found
    It absolutely helpful and it has aided me out loads.
    I hope to contribute & help different customers like its aided me.
    Great job.

  7. If some one wants expert view on the topic of blogging
    then i advise him/her to go to see this webpage, Keep up
    the pleasant work.

  8. Greetings! Very helpful advice in this particular article!

    It is the little changes that make the biggest changes.
    Thanks for sharing!

  9. My brother recommended I might like this web site.

    He was entirely right. This post truly made my day.
    You can not imagine just how much time I had spent
    for this information! Thanks!

  10. poker tournaments 2021 united states, how much
    does united statesn roulette pay and united statesn casinos
    no deposit bonus, or top 10 poker sites united
    states

    my website :: apps you can gamble real money (King)

  11. I am really glad to read this website posts which consists of plenty of useful information,
    thanks for providing these data.

  12. I know this web page presents quality dependent articles or reviews and extra stuff,
    is there any other web site which gives such things in quality?

  13. Good day! This is kind of off topic but I need some advice
    from an established blog. Is it tough to set
    up your own blog? I’m not very techincal but I can figure things
    out pretty quick. I’m thinking about setting up my own but I’m not sure where
    to begin. Do you have any points or suggestions? 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>