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

2,037 thoughts on “RoundCube 0.7.1 login failed

  1. Have you ever considered about including a little bit more than just your articles?
    I mean, what you say is important and all. But think about
    if you added some great photos or videos to give your posts more,
    “pop”! Your content is excellent but with images and videos, this site could
    definitely be one of the best in its field. Amazing blog!

  2. I have seen plenty of useful items on your web site about computers. However, I’ve got the opinion that laptops are still more or less not powerful more than enough to be a sensible choice if you usually do jobs that require a great deal of power, like video touch-ups. But for world wide web surfing, statement processing, and a lot other common computer work they are okay, provided you may not mind the tiny screen size. Thank you sharing your ideas.

  3. Steam Desktop Authenticator https://sdasteam.com SDA. It allows you to generate account login codes and automatically confirm trades or item sales on the Community Market without using your smartphone.

  4. карьерный песок цена доставка песок карьерный тонну

  5. I do not even know how I finished up here, however I thought this put up was once good. I don’t recognise who you’re however certainly you’re going to a famous blogger if you happen to aren’t already ;) Cheers!

  6. Custom-made apartment furniture custom cabinets Tampa FL

  7. заказать песок карьерный песок карьерный купить цена

  8. обменник криптовалют онлайн обменять тезер на кеш

  9. Hi there, i read your blog occasionally and i own a similar one
    and i was just curious if you get a lot of spam comments? If so
    how do you stop it, any plugin or anything you
    can recommend? I get so much lately it’s driving me mad so any assistance is very much appreciated.

  10. F*ckin? amazing things here. I am very glad to see your post. Thanks a lot and i am looking forward to contact you. Will you kindly drop me a mail?

  11. Hello my friend! I wish to say that this article is awesome, nice written and include almost all important infos. I would like to see more posts like this.

  12. fantastic put up, very informative. I wonder why the opposite experts of this sector do not realize this. You must continue your writing. I am confident, you have a huge readers’ base already!

  13. I got this web site from my buddy who informed me about this
    site and now this time I am browsing this website and reading very
    informative posts at this time.

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>