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

  1. I think that what you published was very reasonable. However, consider this,
    suppose you added a little information? I am not saying your content isn’t solid.,
    but suppose you added something that grabbed folk’s attention? I mean RoundCube 0.7.1 login failed | freestyle developments
    is kinda boring. You should look at Yahoo’s front page and note how
    they create news headlines to get viewers to click. You might add a video or
    a pic or two to grab people excited about what you’ve written. In my opinion, it might make your posts a little bit more
    interesting.

  2. Hi there to every single one, it’s actually a pleasant for me to pay a quick visit this web page, it
    consists of precious Information.

  3. I blog quite often and I seriously thank you for your information. This great article has truly peaked
    my interest. I’m going to book mark your site and keep checking for new
    information about once per week. I opted in for your Feed too.

  4. An outstanding share! I have just forwarded this
    onto a colleague who had been doing a little research on this.
    And he in fact bought me dinner because I stumbled upon it for him…
    lol. So allow me to reword this…. Thank YOU for the meal!!
    But yeah, thanks for spending some time to talk about this topic here on your website.

  5. I must thank you for the efforts you have put in writing this
    site. I really hope to check out the same high-grade blog posts from you in the future as well.
    In truth, your creative writing abilities has encouraged me to get my
    very own site now ;)

  6. top casino in canada for real money, do you have to pay taxes on gambling
    winnings in australia and united kingdom pokies no deposit
    bonus, or best nz casino bonuses

    Here is my page – goplayslots.net

  7. Have you ever considered creating an e-book or guest authoring on other blogs?
    I have a blog based on the same subjects you discuss and would really like to have you share
    some stories/information. I know my audience would
    enjoy your work. If you’re even remotely interested, feel free to send me an email.

  8. This article will assist the internet users for building up new weblog or
    even a weblog from start to end.

  9. Please let me know if you’re looking for a article author for your blog.
    You have some really good articles and I feel I would be a good asset.
    If you ever want to take some of the load off, I’d absolutely
    love to write some content for your blog in exchange for a
    link back to mine. Please blast me an e-mail if interested.

    Many thanks!

  10. Spot on with this write-up, I honestly feel this site needs much more
    attention. I’ll probably be back again to read more, thanks for the advice!

  11. Woah! I’m really enjoying the template/theme of this site.
    It’s simple, yet effective. A lot of times it’s very difficult
    to get that “perfect balance” between superb usability and visual appeal.
    I must say you’ve done a superb job with this. Additionally, the blog
    loads super fast for me on Internet explorer. Superb Blog!

  12. 10 minimum deposit casino united kingdom, united statesn roulette odds and
    is top online pokies and casinos players club, Myra, in australia same, or pokies online
    casino australia

  13. If you are going for best contents like me, simply
    pay a visit this website all the time as it gives feature contents,
    thanks

  14. Good day! I know this is kind of off topic but I was wondering which blog platform are you using for
    this website? I’m getting fed up of WordPress because I’ve had problems with hackers and I’m looking at alternatives
    for another platform. I would be great if you could point me in the direction of a good platform.

  15. Having read this I thought it was extremely enlightening.
    I appreciate you taking the time and effort to put this short article together.
    I once again find myself personally spending way too much
    time both reading and posting comments. But so what,
    it was still worth it!

  16. Nice blog! Is your theme custom made or did you download it
    from somewhere? A theme like yours with a few simple adjustements would really make my blog stand out.
    Please let me know where you got your theme. Appreciate it

  17. Everything is very open with a precise clarification of the issues.
    It was truly informative. Your website is useful.
    Thanks for sharing!

  18. Fine way of telling, and pleasant piece of writing to take data on the topic of my presentation focus, which i am going
    to deliver in university.

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>