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

  1. I just couldn’t go away your site prior to suggesting that I extremely enjoyed the usual information a
    person supply on your guests? Is gonna be back regularly to inspect new posts

  2. Asking questions are truly pleasant thing if you are not understanding anything entirely, except this post
    provides nice understanding even.

  3. crypto gambling usa, online casino australia reddit and new
    casino online usa 2021, or real money poker apps united states

    My page deposit 10 get 50 free spins – Santo
    -

  4. casino las vegas usa, usa casino opening dates and online gambling canada banned, or age
    what does it mean to press a bet in craps (Modesta) enter casino in united kingdom

  5. Hey, I think your website might be having browser compatibility issues.
    When I look at your website in Chrome, it looks
    fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, wonderful blog!

  6. This web site certainly has all the information and facts I wanted concerning this
    subject and didn’t know who to ask.

  7. united kingdom online casino real money no deposit bonus, tiger
    gaming poker uk and real money slots app canada, or canadian big win pokies australia 2022 (Katherina) free spins

  8. I relish, result in I discovered just what I used to be looking for.
    You have ended my 4 day long hunt! God Bless you
    man. Have a nice day. Bye

  9. Hello, after reading this awesome paragraph i am too delighted to
    share my familiarity here with friends.

  10. Everything is very open with a really clear explanation of the challenges.

    It was truly informative. Your site is useful. Thanks for sharing!

  11. I am really impressed with your writing skills as neatly as
    with the format in your blog. Is that this a paid subject matter or
    did you customize it yourself? Anyway stay up the excellent high quality writing, it’s rare
    to peer a great weblog like this one these days..

  12. apple pay online 3 rivers casino online gambling (Evangeline) united kingdom, win real money online instantly usa and new australian online casinos
    no deposit bonus, or poker world united states

  13. I know this site offers quality depending articles and additional data, is there any
    other website which gives these data in quality?

  14. Quality articles is the main to interest the users to pay
    a quick visit the web page, that’s what this website is providing.

  15. Good day I am so excited I found your webpage, I really found you by error, while I was looking on Askjeeve for something else, Regardless
    I am here now and would just like to say kudos for a incredible post and a
    all round entertaining blog (I also love the theme/design), I
    don’t have time to read through it all at the
    minute but I have book-marked it and also added your RSS feeds,
    so when I have time I will be back to read a lot more, Please do keep up the awesome jo.

  16. I’m amazed, I have to admit. Rarely do I come across a blog that’s equally educative and amusing, and without
    a doubt, you’ve hit the nail on the head. The problem is an issue
    that not enough men and women are speaking intelligently about.

    I’m very happy that I stumbled across this in my search for something concerning this.

  17. Good way of explaining, and nice piece of writing to get data concerning my presentation subject, which i am going to present in academy.

  18. I feel this is one of the so much significant info for me.
    And i am happy studying your article. However
    wanna commentary on some common issues, The site style is wonderful, the articles is in reality
    great : D. Just right job, cheers

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>