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’.

380 thoughts on “RoundCube 0.7.1 login failed

  1. hi!,I really like your writing very a lot! share we
    be in contact more about your article on AOL? I need an expert in this space to solve my problem.
    Maybe that is you! Looking ahead to peer you.

  2. Hi just wanted to give you a brief heads up and let you know a few of the
    pictures aren’t loading properly. I’m not sure why but I think its a
    linking issue. I’ve tried it in two different web browsers and both show the same outcome.

  3. It’s actually a cool and useful piece of info.
    I’m glad that you just shared this useful information with us.

    Please keep us up to date like this. Thank you for sharing.

  4. Can I simply say what a comfort to discover someone who genuinely understands what they’re discussing on the net.
    You definitely understand how to bring an issue to light and
    make it important. A lot more people should check this out and understand this side of your story.
    I was surprised you aren’t more popular since you most certainly have the gift.

  5. Hey! This is my 1st comment here so I just wanted to give a quick shout out and
    say I really enjoy reading your blog posts.
    Can you recommend any other blogs/websites/forums that deal with the same subjects?
    Thank you!

  6. usa casino providers, casino online uk free and are there casinos in new
    united states, or how much does canada spend on pokies

    My web blog :: anong cause Ng bingot; cc.bmwfy.cn,

  7. What you said was very logical. However, consider this, suppose you were to create a awesome headline?

    I ain’t suggesting your information is not solid., but what if you added something that makes people desire more?
    I mean RoundCube 0.7.1 login failed | freestyle developments is a little boring.
    You could look at Yahoo’s home page and watch how they create post headlines to get viewers
    to open the links. You might add a video or a pic or two to grab people interested about what you’ve
    got to say. Just my opinion, it would make your posts a little bit
    more interesting.

  8. Thank you a lot for sharing this with all of
    us you really understand what you’re talking approximately!
    Bookmarked. Kindly additionally discuss with my web site =).
    We could have a hyperlink exchange contract among us

  9. I think this is among the most vital info for me.
    And i am glad reading your article. But want to remark on few general things, The web site style is great,
    the articles is really excellent : D. Good job, cheers

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

  11. You could definitely see your enthusiasm in the article you write.
    The arena hopes for even more passionate writers like you who aren’t afraid to mention how they believe.
    At all times go after your heart.

  12. las vegas usa games played in goa casino (Micki) reviews, 888 poker withdrawal united states and no deposit free bonus
    spins usa aug, 28,2021, or setting up an online casino usa

  13. top australian online pokies, best rated online pokies new zealand and casinos that accept paypal is there a casino in israel, Weldon,
    australia, or free bingo games no deposit usa

  14. I simply could not leave your website before suggesting that I extremely enjoyed the standard information an individual supply in your visitors?
    Is gonna be again often to check out new posts

  15. It’s actually very complex in this full of activity life to listen news on Television, thus I simply
    use world wide web for that reason, and get the most up-to-date news.

  16. I used to be recommended this website by means of my cousin. I am not sure whether this publish is written through him as no
    one else realize such targeted approximately my difficulty.
    You are incredible! Thanks!

    Also visit my blog … how do casinos pay out
    (Lilly)

  17. Thanks a lot for sharing this with all people you really
    realize what you are speaking approximately!
    Bookmarked. Kindly additionally talk over with my
    site =). We can have a link exchange contract among us

  18. Awesome blog! Do you have any suggestions for aspiring writers?
    I’m planning to start my own website soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or
    go for a paid option? There are so many options out there that
    I’m totally overwhelmed .. Any ideas? Kudos!

  19. Great beat ! I would like to apprentice while you amend your web site, how could i subscribe for a blog site?
    The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  20. Just desire to say your article is as surprising. The clarity in your post is simply excellent and i could assume you’re an expert on this subject.
    Fine with your permission let me to grab your RSS feed to keep up to date with forthcoming post.
    Thanks a million and please keep up the enjoyable work.

  21. Wow, wonderful blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your web site is excellent, as well as the content!

  22. Having read this I thought it was rather enlightening.
    I appreciate you finding the time and effort to put this article together.

    I once again find myself spending a significant amount of time both
    reading and leaving comments. But so what, it was still worth it!

  23. What’s up i am kavin, its my first occasion to commenting anywhere, when i read this paragraph
    i thought i could also create comment due to this brilliant piece of
    writing.

  24. I don’t even know how I ended up here, however I assumed
    this submit used to be great. I do not know who
    you might be but certainly you’re going to a famous blogger in case you are not already.

    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>