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

377 thoughts on “RoundCube 0.7.1 login failed

  1. I was curious if you ever thought of changing the structure
    of your site? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having 1 or 2 pictures.

    Maybe you could space it out better?

  2. Hi, I do think this is an excellent web site. I stumbledupon it ;) I am
    going to come back yet again since I book-marked it.

    Money and freedom is the best way to change, may you be rich and continue to guide other people.

  3. Great blog here! Also your web site loads up very fast!
    What host are you using? Can I get your
    affiliate link to your host? I wish my site loaded up as fast as yours lol

  4. First of all I want to say awesome blog! I had a quick question in which I’d like to ask if you
    do not mind. I was interested to find out how you center yourself and clear
    your thoughts before writing. I’ve had a tough time clearing my thoughts in getting my thoughts
    out there. I do enjoy writing however it just seems like the first 10 to 15 minutes are usually lost simply just
    trying to figure out how to begin. Any recommendations or tips?
    Cheers!

  5. Have you ever considered writing an ebook or guest
    authoring on other websites? I have a blog centered on the
    same ideas you discuss and would really like to have you share some stories/information.
    I know my viewers would appreciate your work. If you’re even remotely interested,
    feel free to send me an email.

  6. Hello, Neat post. There’s an issue along with your website in internet explorer, may check
    this? IE nonetheless is the marketplace chief and a good portion of other folks will leave out your excellent writing
    due to this problem.

  7. I just couldn’t depart your site before suggesting that I actually enjoyed the standard info a person supply
    in your guests? Is going to be back regularly
    in order to investigate cross-check new posts

  8. The digital Website positioning strategist will keep you updated in your campaign,
    while educating you on the custom Seo technique providers provided and what to
    expect. White hat hyperlink constructing services prioritize editorial standards and content material worth.
    Perform outreach positions, content in front of excessive-value domains,
    earns trustworthy backlinks, and strengthens the overall
    hyperlink profile. Outreach promotes visibility, helps
    focused link acquisition, and generates credibility. Hyperlink profiles
    constructed by way of this methodology cut back credibility and injury visibility.
    Black hat link constructing includes paid links
    from low-high quality domains, link exchanges, spam feedback, automated hyperlink placements, and private weblog networks.
    This technique helps shut hyperlink gaps, attract consideration from related domains, and build a excessive-authority
    backlink profile rooted in proven success. Implementing a comprehensive hyperlink constructing
    strategy that includes these parts is essential for lengthy-time period Website positioning success.
    What’s Black Hat Hyperlink Constructing? Black hat hyperlink building passes alerts of
    manipulation, artificial link velocity, and untrustworthy associations.

    Getting new websites to hyperlink to you isn’t the only way to improve your backlinks profile.
    Analyzing competitor backlinks helps build a stronger and more competitive hyperlink profile.

  9. Very nice post. I just stumbled upon your weblog and wished to say that I’ve truly enjoyed browsing your blog posts.
    In any case I will be subscribing on your feed and I am hoping you write once more soon!

  10. Right here is the perfect website for anybody who
    really wants to find out about this topic.

    You know so much its almost hard to argue with you (not that I really will need to…HaHa).
    You definitely put a brand new spin on a topic
    that has been written about for ages. Excellent stuff, just
    wonderful!

  11. Valuable information. Fortunate me I found your site by chance, and
    I am surprised why this coincidence didn’t came
    about earlier! I bookmarked it.

  12. I’m not sure why but this weblog is loading very slow for me.
    Is anyone else having this problem or is it a problem on my end?

    I’ll check back later on and see if the problem still exists.

  13. Greate article. Keep writing such kind of info on your site.
    Im really impressed by it.
    Hey there, You’ve done a great job. I will definitely digg it and for my
    part recommend to my friends. I am sure they will be benefited from
    this web site.

  14. No matter if some one searches for his essential thing, so he/she needs to
    be available that in detail, so that thing is maintained over here.

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>