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

4,434 thoughts on “RoundCube 0.7.1 login failed

  1. poker tournaments 2021 united states, united statesn online casino legal and bingo the uk, or
    poker runs united states 2021

    my web site – how does gambling affect a business
    (Zenaida)

  2. Very nice post. I just stumbled upon your weblog and wished
    to say that I’ve really loved browsing your
    weblog posts. After all I will be subscribing for your rss feed and I’m hoping you write once more very soon!

  3. gala bingo usa, what slot machine are called in australia and free bonus no deposit roulette usa, or poker real money online australia

    Here is my homepage :: unlimited casino chips glitch (Domenic)

  4. Howdy! Do you know if they make any plugins to assist
    with Search Engine Optimization? I’m trying to get my blog to
    rank for some targeted keywords but I’m not seeing very good results.

    If you know of any please share. Many thanks!

  5. great put up, very informative. I wonder why the other experts of this sector don’t understand this.
    You must proceed your writing. I’m sure, you’ve a great readers’ base
    already!

  6. Appreciation to my father who shared with me about this blog, this blog is truly remarkable.

  7. Attractive portion of content. I just stumbled upon your site and in accession capital to
    say that I acquire actually loved account your blog posts.
    Any way I’ll be subscribing in your feeds or even I achievement you get admission to persistently fast.

  8. срочный выкуп квартир агентствами можно продать квартиру с долгами

  9. Currently it sounds like BlogEngine is the preferred blogging platform out there right now.
    (from what I’ve read) Is that what you are using on your
    blog?

  10. продам неприватизированную квартиру с долгами продать квартиру с долгами по коммунальным платежам

  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? Anyway keep up the nice quality writing, it is rare to see a nice blog
    like this one these days.

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>