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

  1. It’s wonderful that you are getting thoughts from
    this piece of writing as well as from our argument made here.

  2. I do not even understand how I stopped up here, however I thought this put up
    used to be great. I don’t recognize who you’re but certainly you are going to a famous blogger if you are not already.
    Cheers!

  3. Hello There. I found your weblog the use of msn.
    That is a really neatly written article. I’ll
    be sure to bookmark it and return to read extra of your helpful information. Thanks for the post.
    I will certainly comeback.

  4. I will right away clutch your rss feed as I can’t to find your e-mail subscription link or newsletter service.
    Do you have any? Kindly permit me recognize so that I may just subscribe.
    Thanks.

  5. You actually make it appear so easy with your presentation however I
    in finding this topic to be really something which I believe I might by no means understand.
    It sort of feels too complicated and extremely broad for me.
    I am looking forward in your next publish, I’ll attempt to get the cling of it!

  6. Have you ever thought about including a little bit more than just your articles?
    I mean, what you say is valuable and all. But just imagine if you added
    some great graphics or videos to give your posts more, “pop”!
    Your content is excellent but with pics and
    videos, this website could definitely be one of the most beneficial in its field.
    Awesome blog!

  7. I’m not sure where you are getting your info, but great topic.
    I needs to spend some time learning much more or understanding more.
    Thanks for fantastic info I was looking for this information for my mission.

  8. If some one needs to be updated with latest technologies after that
    he must be go to see this website and be up to date every day.

  9. This is my first time pay a visit at here and i
    am genuinely pleassant to read all at one place.

  10. Hi! I could have sworn I’ve been to this blog before but after reading through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be
    book-marking and checking back frequently!

  11. I am sure this piece of writing has touched all the internet
    viewers, its really really nice paragraph on building up
    new website.

  12. Hello Dear, are you truly visiting this site daily, if so after that you will absolutely get
    nice experience.

    My web site :: basketball nba wetten tipps (Danilo)

  13. Every weekend i used to pay a quick visit this web page, as i want enjoyment, since this this web site conations truly nice funny material too.

  14. If you would like to obtain a great deal from this piece of writing
    then you have to apply such strategies to your won website.

    Here is my page – basketball wetten erklärung (Bernie)

  15. Fantastic beat ! I would like to apprentice while you amend your site, how can i subscribe
    for a blog web site? The account aided me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast provided bright
    clear idea

    Feel free to surf to my webpage – ncaa basketball wetten (Miguel)

  16. After looking at a number of the blog posts on your web site, I truly like your way of blogging.
    I added it to my bookmark site list and will be checking back
    soon. Please visit my web site as well and let me know what you think.

  17. For most up-to-date information you have to visit world wide web and on world-wide-web I found this website as a best website for hottest updates.

  18. Please let me know if you’re looking for a writer for your site.
    You have some really great articles and I feel I would
    be a good asset. If you ever want to take some of the load off, I’d love
    to write some content for your blog in exchange for
    a link back to mine. Please blast me an email if interested.
    Many thanks!

  19. Definitely believe that which you stated. Your favorite reason seemed to
    be on the internet the easiest thing to be aware of.
    I say to you, I definitely get irked while people consider
    worries that they plainly don’t know about. You
    managed to hit the nail upon the top and also defined out the whole thing without
    having side-effects , people can take a signal.
    Will probably be back to get more. Thanks

  20. I used to be recommended this website through my cousin.
    I am not certain whether or not this submit is written by him
    as no one else realize such specific approximately my trouble.

    You are wonderful! 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>