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

6,243 thoughts on “RoundCube 0.7.1 login failed

  1. hey there and thank you for your info ? I have definitely picked up anything new from right here. I did then again expertise several technical issues the use of this website, since I skilled to reload the web site many instances previous to I may just get it to load properly. I had been brooding about if your web host is OK? Not that I am complaining, however slow loading instances occasions will often affect your placement in google and can injury your high quality score if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Anyway I am including this RSS to my e-mail and can glance out for a lot extra of your respective interesting content. Make sure you replace this again soon..

  2. An added important part is that if you are a mature person, travel insurance intended for pensioners is something you need to really take into account. The old you are, the harder at risk you happen to be for making something poor happen to you while in most foreign countries. If you are not really covered by a few comprehensive insurance coverage, you could have many serious difficulties. Thanks for expressing your hints on this web blog.

  3. минимален депозит букмейкъри

    my homepage – пункт за залагания Търговище, Rosetta,

  4. What i do not realize is in reality how you are now not
    actually much more neatly-liked than you might
    be right now. You’re very intelligent. You realize therefore significantly when it comes to this matter, produced me in my opinion imagine it from so many varied angles.

    Its like men and women aren’t interested until it is something to do with Girl gaga!
    Your own stuffs nice. At all times care for it up!

  5. Hello there, I found your web site via Google whilst looking for a comparable topic, your website got here
    up, it looks great. I have bookmarked it in my google bookmarks.

    Hello there, simply became aware of your weblog through Google, and
    located that it is really informative. I’m gonna watch out for brussels.
    I will be grateful should you proceed this in future. Lots of other folks can be benefited out of your writing.

    Cheers!

  6. I am curious to find out what blog platform you’re utilizing?

    I’m having some small security issues with my latest website and I would like
    to find something more risk-free. Do you have any solutions?

  7. I’m impressed by the quality of this content! The author has obviously put a huge amount of effort into investigating and organizing the information. It’s refreshing to come across an article that not only offers valuable information but also keeps the readers engaged from start to finish. Hats off to him for creating such a brilliant work!

  8. Hello there, just became aware of your blog through Google, and found that it’s really informative. I?m going to watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

  9. My partner and I stumbled over here by a different website and thought I might as well check
    things out. I like what I see so now i’m following you.
    Look forward to looking at your web page for a second time.

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>