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

  1. Решил заняться бизнесом? где открыть ип помощь в регистрации индивидуального предпринимателя и подготовке необходимых документов. Узнайте как открыть ИП выбрать подходящую систему налогообложения и пройти регистрацию без лишних сложностей.

  2. Normally I don’t read article on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Thanks, very nice article.

  3. new zealand casino no deposit bonus, canadian online casino
    fast withdrawal and free casino bonus no deposit required uk,
    or no deposit bonus casino united states 2021

    Visit my web-site … bl3 blackjack mini game (Leonard)

  4. I do not even know how I ended up here, but I thought this post was great.
    I do not know who you are but certainly you’re going to a famous blogger if you are not already ;) Cheers!

  5. I’m not sure where you are getting your information, but good
    topic. I needs to spend some time learning more or understanding more.
    Thanks for magnificent information I was looking
    for this info for my mission.

  6. I’m amazed, I have to admit. Rarely do I come across a blog that’s both educative
    and amusing, and let me tell you, you’ve hit the nail on the head.
    The issue is something which too few folks are speaking intelligently about.
    Now i’m very happy that I found this in my hunt for something concerning this.

  7. где купить экскурсии на пхукете экскурсии тайланд пхукет 2026

  8. аренда премиум авто пхукет сколько стоит аренда авто на пхукете

  9. накрутка ga сео яндекс пф накрутка пф

  10. Hi there, i read your blog occasionally and i own a similar
    one and i was just wondering if you get a lot of spam remarks?
    If so how do you reduce it, any plugin or anything you can recommend?
    I get so much lately it’s driving me insane so any assistance is
    very much appreciated.

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>