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

  1. What’s up colleagues, good post and good arguments commented here,
    I am really enjoying by these.

    Feel free to visit my web-site; casino sunnyside wa (Florene)

  2. Melhor horário pra jogar Jogo do Tigrinho: madrugada ou pico de noite? Conta sua experiência

  3. can i use td australia visa debit for online gambling, usa mobile casinos no deposit
    bonus and no deposit free bonus casinos usa, or new no deposit bonus codes 2021 australia

    Also visit my webpage palace casino host (Sang)

  4. Thanks for ones marvelous posting! I quite enjoyed reading it, you’re a great author.
    I will always bookmark your blog and may come back very soon. I want to encourage you to continue your great posts,
    have a nice morning!

  5. cash frenzy free slots, bet365 poker united states and best online casino usa 2021,
    or best casino gran madrid colon horario (Shenna)
    sign up offers uk

  6. It’s going to be finish of mine day, however before end I am reading this impressive piece of writing
    to improve my knowledge.

  7. I got this site from my friend who informed me concerning this web page and now this time I am browsing this web site and reading very informative posts at this place.

  8. Attractive portion of content. I just stumbled upon your web site and
    in accession capital to claim that I acquire in fact loved account your weblog
    posts. Any way I will be subscribing on your augment or even I
    success you access persistently rapidly.

  9. Heya i am for the first time here. I found this board and I
    find It really useful & it helped me out much. I hope to give something back and help others like you aided me.

  10. Hey There. I found your blog using msn. This is a very well written article.

    I will be sure to bookmark it and come back to read more of your useful information. Thanks for
    the post. I will certainly comeback.

  11. Hi there to all, how is everything, I think every one is getting more from this website,
    and your views are pleasant designed for new users.

  12. Excellent site. Lots of helpful information here. I’m sending it to a
    few pals ans additionally sharing in delicious. And obviously, thanks in your effort!

  13. I was suggested this website by my cousin. I’m not sure whether
    this post is written by him as nobody else know such detailed about my problem.
    You are incredible! Thanks!

  14. the top online pokies and casinos in united states legit, free chip no deposit usa and legit
    australian online casino, or legal age for gambling
    in australia

    Visit my page – what is street craps (Stepanie)

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>