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

  1. This article is a breath of fresh air! The author’s unique perspective and thoughtful analysis have made this a truly captivating read. I’m thankful for the effort he has put into creating such an enlightening and provocative piece. Thank you, author, for providing your knowledge and igniting meaningful discussions through your brilliant writing!

  2. Hello to all, as I am genuinely eager of reading
    this weblog’s post to be updated regularly. It consists of fastidious material.

  3. Hi there, I discovered your web site by means of Google whilst searching for a comparable matter, your website got here up, it seems to be great.
    I have bookmarked it in my google bookmarks.
    Hi there, just changed into alert to your blog thru Google, and found that it is truly
    informative. I’m going to watch out for brussels. I’ll be grateful if you happen to
    continue this in future. Many people can be benefited from your writing.

    Cheers!

  4. Hi there, I found your website by way of Google at the same time as searching
    for a related matter, your website came up, it
    looks great. I have bookmarked it in my google bookmarks.

    Hi there, simply become aware of your blog thru Google, and found that it is really informative.
    I’m going to be careful for brussels. I will be grateful for
    those who proceed this in future. Many other people
    will be benefited from your writing. Cheers!

  5. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! By the way,
    how can we communicate?

  6. canadian online pokies that accept paypal, real money online gambling canada and casino no deposit bonus codes canada 2021,
    or slot machine sales uk

    Here is my page – how to hole card in blackjack, Chana,

  7. I simply could not leave your site before suggesting that I really loved the standard information an individual provide to
    your visitors? Is going to be back ceaselessly in order to inspect new posts

  8. You have made some really good points there. I checked on the
    web for more info about the issue and found most individuals will go along with your views
    on this site.

  9. Howdy! This post could not be written any better! Reading through this post
    reminds me of my previous roommate! He continually kept preaching about this.
    I’ll forward this information to him. Fairly certain he’ll
    have a very good read. Thanks for sharing!

  10. Pretty nice post. I just stumbled upon your weblog and wanted to
    say that I’ve really enjoyed browsing your blog
    posts. After all I will be subscribing to your rss feed and I hope you write again very
    soon!

  11. Can I just say what a relief to discover a person that actually understands
    what they are discussing online. You definitely understand how to
    bring an issue to light and make it important.
    A lot more people need to look at this and understand this side
    of the story. I was surprised that you are not more popular given that you definitely have the gift.

  12. Pretty component of content. I simply stumbled upon your weblog and in accession capital to assert that I
    acquire actually loved account your blog posts.
    Anyway I will be subscribing in your augment or even I success you get admission to constantly fast.

    Review my blog – Casino En San Felipe

  13. A person essentially assist to make critically articles I might state.
    That is the very first time I frequented your web page
    and up to now? I amazed with the research you made to make this particular put up extraordinary.

    Wonderful activity!

  14. It’s remarkable to go to see this web site and reading the views of all mates on the topic of this piece of writing, while I am also keen of getting know-how.

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>