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

  1. It’s very straightforward to find out any topic on net as
    compared to textbooks, as I found this post at
    this website.

  2. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment.
    Is there any way you can remove me from that service?
    Thanks a lot!

  3. Welcome to MP3Juice, your go-to platform for fast, free MP3 downloads.
    Search for any song, in any language, and get high-quality tracks without the need for subscriptions or memberships.
    Enjoy seamless access to your favorite music, anytime, anywhere.

  4. Simply want to say your article is as astonishing.
    The clearness in your post is just great and
    i can assume you are an expert on this subject.
    Well with your permission allow me to grab your RSS feed to keep up to date with forthcoming
    post. Thanks a million and please keep up the enjoyable work.

  5. united kingdom poker 90 s, free spins no deposit what day do casinos payout the most (Muoi) usa and australian free pokies games, or usa online
    casino no deposit bonus codes 2021

  6. Tubidy is a user-friendly online platform for free music and video
    downloads, particularly popular among users in South Africa.
    The site boasts a vast catalog of tracks and videos, reportedly containing over one million items across various mirrors.
    Tubidy simplifies the process of finding and enjoying music and music videos on the go.

  7. What’s up i am kavin, its my first occasion to commenting anyplace, when i read this
    paragraph i thought i could also create comment due to this
    good post.

  8. I have fun with, lead to I found exactly what I was having a look for.
    You’ve ended my four day long hunt! God Bless you man. Have
    a nice day. Bye

  9. Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your weblog?
    My website is in the exact same niche as yours and my users would definitely benefit from some of the
    information you present here. Please let me know if this okay with you.

    Thank you!

  10. Sweet blog! I found it while browsing on Yahoo News. Do you have any tips
    on how to get listed in Yahoo News? I’ve been trying for a while
    but I never seem to get there! Thank you

  11. I was very happy to find this great site. I want to to thank you for your
    time just for this fantastic read!! I definitely really liked every part of it and
    I have you bookmarked to check out new information on your site.

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>