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

  1. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something.
    I think that you can do with some pics to drive the message home a little bit,
    but other than that, this is great blog. A fantastic read.

    I will definitely be back.

  2. Howdy exceptional blog! Does running a blog like this take a lot of work?
    I’ve virtually no knowledge of coding but
    I had been hoping to start my own blog soon. Anyway, if you have any recommendations or
    techniques for new blog owners please share.
    I know this is off topic but I just wanted to ask.
    Kudos!

  3. What’s up to every body, it’s my first go to see of this blog; this website contains remarkable and really good stuff in favor of readers.

  4. Howdy! I could have sworn I’ve been to this web site before but after going through many of the articles I realized it’s new to me.
    Anyhow, I’m certainly happy I discovered it and I’ll be bookmarking it and checking back regularly!

  5. Pretty great post. I simply stumbled upon your blog and wanted to say that I have truly enjoyed browsing your weblog posts.

    After all I will be subscribing to your feed and I am hoping you write again soon!

    Also visit my webpage doubleu casino free chips bonus collector (Wilfredo)

  6. You’re so interesting! I do not think I’ve read something like that before.
    So good to find somebody with unique thoughts on this issue.
    Seriously.. thanks for starting this up.
    This website is something that is needed on the web, someone with a
    bit of originality!

  7. Excellent beat ! I would like to apprentice while you amend
    your website, how could i subscribe for a blog site?

    The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast
    offered bright clear idea

  8. Где Найти Психолога Онлайн. Услуги Психолога.
    Подбор Сайт. Психологи Онлайн Консультации.
    Психолог Алматы. Статьи Психологов.

    Консультации Психолога.

    Психолог Онлайн.
    ✔️Проблемы в общении с людьми. ✔️ Детские травмы, обиды,
    чувство вины. ✔️Стресс. ✔️ Головокружение?
    ✔️ Страx выйти из дoма?

  9. Hi there, I desire to subscribe for this
    blog to obtain most up-to-date updates, so where can i do it please assist.

  10. Hi there! Quick question that’s totally off topic. Do you know how
    to make your site mobile friendly? My website looks weird when browsing from my iphone.

    I’m trying to find a theme or plugin that might be able to
    correct this issue. If you have any suggestions, please share.
    Cheers!

  11. Hi to every single one, it’s really a pleasant for me to pay a visit this site, it consists of
    valuable Information.

  12. £20 free no deposit casino uk, canadian online casino coolcat no deposit bonus codes 2022 (Ramiro) deposit bonus codes and casino in connecticut usa,
    or new uk based online casino

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>