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

380 thoughts on “RoundCube 0.7.1 login failed

  1. Hi, There’s no doubt that your blog could possibly be having internet browser compatibility problems.
    When I take a look at your website in Safari,
    it looks fine however when opening in I.E.,
    it’s got some overlapping issues. I merely wanted
    to provide you with a quick heads up! Apart from that, wonderful website!

  2. Thanks for your marvelous posting! I really enjoyed reading it, you happen to be a great
    author.I will make sure to bookmark your blog and will come
    back in the foreseeable future. I want to encourage yourself
    to continue your great job, have a nice holiday weekend!

  3. obviously like your web site but you need to check the spelling on several of your posts.
    Many of them are rife with spelling problems and I
    to find it very troublesome to tell the truth then again I’ll certainly come
    back again.

  4. 我們的台彩專家團隊採用智能AI預測系統,每日更新各大聯盟的比賽分析,包括NBA、MLB、中華職棒等。

  5. Hey would you mind stating which blog platform you’re working with?
    I’m looking to start my own blog soon but I’m having a tough
    time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something completely unique.
    P.S Sorry for being off-topic but I had to ask!

  6. This design is spectacular! You obviously know how to keep
    a reader entertained. Between your wit and your videos, I was almost moved to
    start my own blog (well, almost…HaHa!) Great job.
    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

  7. Awesome blog! Do you have any hints for aspiring writers?
    I’m hoping to start my own website soon but I’m a little lost on everything.

    Would you advise starting with a free platform like WordPress or go for
    a paid option? There are so many options out there that I’m totally overwhelmed ..

    Any suggestions? Thanks!

  8. You made some really good points there. I looked on the net to learn more about the issue and found most people will go along with your views on this site.

  9. When I originally commented I seem to have clicked the -Notify me when new comments are
    added- checkbox and from now on every time a comment is added I get
    4 emails with the exact same comment. Is there an easy method
    you are able to remove me from that service? Cheers!

  10. Pretty element of content. I just stumbled upon your blog and in accession capital to claim that I acquire actually loved account your blog posts.
    Anyway I will be subscribing in your augment
    or even I fulfillment you get entry to persistently fast.

  11. I’m really impressed with your writing skills and also with the layout on your blog.
    Is this a paid theme or did you customize it yourself?
    Either way keep up the nice quality writing, it’s rare to see
    a nice blog like this one these days.

  12. Thank you for the auspicious writeup. It in fact was a amusement account it.
    Look advanced to far added agreeable from
    you! However, how could we communicate?

  13. Howdy! Someone in my Myspace group shared this website with us so I came to take
    a look. I’m definitely enjoying the information. I’m
    book-marking and will be tweeting this to my
    followers! Outstanding blog and fantastic design and style.

  14. I seriously love your website.. Great colors & theme.

    Did you develop this amazing site yourself? Please reply back as I’m wanting
    to create my own website and would love to know where you got this from or just what the theme is called.
    Appreciate it!

  15. Valuable information. Lucky me I found your site accidentally,
    and I’m shocked why this coincidence didn’t happened
    in advance! I bookmarked it.

  16. The moment your tufting gun begins to pull the
    yarn through the fabric rather than slicing it cleanly, your project hits a literal snag.
    This issue usually points toward a mechanical misalignment
    within the scissor mechanism, which is the heart of any cut-pile machine.

  17. The moment your tufting gun begins to pull
    the yarn through the fabric rather than slicing it
    cleanly, your project hits a literal snag. This issue usually points toward a mechanical misalignment within the
    scissor mechanism, which is the heart of any cut-pile
    machine.

  18. The moment your tufting gun begins to pull the yarn through the fabric rather than slicing it cleanly,
    your project hits a literal snag. This issue usually points toward
    a mechanical misalignment within the scissor mechanism, which is the heart of any
    cut-pile machine.

  19. Greetings! I’ve been reading your website for a while now and finally got the bravery to go ahead and give you a shout
    out from Dallas Texas! Just wanted to tell you keep up
    the good work!

  20. Hello it’s me, I am also visiting this web site on a regular basis,
    this web page is really pleasant and the viewers are truly sharing good
    thoughts.

  21. Hello I am so grateful I found your web site, I really found you by
    accident, while I was browsing on Digg for something
    else, Regardless I am here now and would just like to say cheers for a fantastic post and a all round interesting blog (I also love the theme/design), I don’t have time to
    look over it all at the minute but I have bookmarked it
    and also added in your RSS feeds, so when I have time I will be back to read more, Please do keep up the fantastic b.

  22. We’re a group of volunteers and starting a new scheme in our
    community. Your site provided us with valuable info to work on. You have done a
    formidable job and our whole community will be grateful to you.

  23. magnificent submit, very informative. I’m wondering why the opposite
    specialists of this sector don’t notice this. You must proceed your writing.

    I’m confident, you have a huge readers’ base already!

  24. Typically, effects begin within 30 minutes to an hour after taking the supplement, with many people experiencing
    peak effects around two hours. However, taking it immediately after
    a fatty meal can delay absorption, delaying onset by
    an additional hour or two.

  25. Typically, effects begin within 30 minutes to an hour after taking the supplement, with many people experiencing peak
    effects around two hours. However, taking it immediately after a
    fatty meal can delay absorption, delaying onset by an additional hour or
    two.

  26. Typically, effects begin within 30 minutes to an hour after taking the supplement, with many people experiencing peak effects around two hours.
    However, taking it immediately after a fatty meal can delay absorption,
    delaying onset by an additional hour or two.

  27. Typically, effects begin within 30 minutes to an hour after taking the supplement,
    with many people experiencing peak effects around two hours.
    However, taking it immediately after a fatty
    meal can delay absorption, delaying onset by an additional hour or two.

  28. Typically, effects begin within 30 minutes to an hour after taking the supplement, with many people
    experiencing peak effects around two hours. However, taking it immediately after a fatty meal can delay absorption,
    delaying onset by an additional hour or two.

  29. Typically, effects begin within 30 minutes to an hour after taking the
    supplement, with many people experiencing peak effects around two hours.

    However, taking it immediately after a fatty meal can delay absorption, delaying onset by an additional hour or two.

  30. Typically, effects begin within 30 minutes to an hour after taking
    the supplement, with many people experiencing peak effects around
    two hours. However, taking it immediately after a fatty
    meal can delay absorption, delaying onset by an additional
    hour or two.

  31. Typically, effects begin within 30 minutes to an hour after taking the
    supplement, with many people experiencing peak effects around two hours.
    However, taking it immediately after a fatty meal can delay absorption, delaying
    onset by an additional hour or two.

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>