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

  1. Hmm is anyone else encountering problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if
    it’s the blog. Any feedback would be greatly appreciated.

  2. Greetings from Ohio! I’m bored to tears at work so I
    decided to browse your blog on my iphone during lunch break.
    I enjoy the knowledge you present here and can’t wait to take a look when I get home.
    I’m surprised at how quick your blog loaded on my mobile ..
    I’m not even using WIFI, just 3G .. Anyways, wonderful site!

  3. whoah this blog is excellent i love reading your articles. Keep up the great work! You know, many people are searching around for this info, you can aid them greatly.

  4. Definitely consider that which you said. Your favorite
    reason seemed to be on the net the simplest factor to
    consider of. I say to you, I definitely get annoyed
    whilst folks consider concerns that they plainly don’t know about.
    You managed to hit the nail upon the highest as neatly as outlined out the whole thing
    without having side-effects , folks can take a
    signal. Will probably be back to get more. Thanks

  5. Pretty nice post. I just stumbled upon your weblog
    and wanted to say that I’ve truly enjoyed surfing around your blog posts.
    In any case I will be subscribing to your feed and I hope you write again very soon!

  6. Hi there, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam feedback?
    If so how do you reduce it, any plugin or anything you can recommend?
    I get so much lately it’s driving me mad so any support is very much
    appreciated.

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

  8. Thanks for your handy post. In recent times, I have been able to understand that the actual symptoms of mesothelioma are caused by the build up connected fluid relating to the lining on the lung and the upper body cavity. The sickness may start inside chest area and propagate to other parts of the body. Other symptoms of pleural mesothelioma cancer include weight loss, severe inhaling and exhaling trouble, vomiting, difficulty taking in food, and puffiness of the neck and face areas. It really should be noted that some people existing with the disease tend not to experience virtually any serious signs and symptoms at all.

  9. Hi, I do believe this is a great blog. I stumbledupon it ;) I will come back once again since i have book
    marked it. Money and freedom is the best way to change, may you be rich and continue to guide other
    people.

  10. I do not even know the way I stopped up here,
    however I assumed this put up was once good. I don’t understand who you’re but certainly you’re going to a well-known blogger for those who are not
    already. Cheers!

  11. Hey there! I simply wish to give you a huge thumbs up for the great info you have right
    here on this post. I am coming back to your website for more soon.

  12. Hmm it seems like your site ate my first comment (it was super
    long) so I guess I’ll just sum it up what I had written and say, I’m
    thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any suggestions for rookie blog writers?

    I’d genuinely appreciate it.

  13. That is a great tip particularly to those fresh to the blogosphere.
    Short but very precise information… Thank you for sharing this
    one. A must read article!

  14. Greetings! Very useful advice in this particular post!
    It’s the little changes that produce the largest changes.

    Many thanks for sharing!

  15. Hi, Neat post. There is an issue with your web site
    in internet explorer, could test this? IE nonetheless is the marketplace chief and a huge section of other
    folks will pass over your magnificent writing due to this problem.

  16. I was recommended this website through my cousin. I am no longer positive whether this put up is written by way of him as nobody else understand such exact about my difficulty. You are wonderful! Thanks!

  17. It?s actually a nice and helpful piece of information. I am satisfied that you just shared this helpful info with us. Please keep us informed like this. Thank you for sharing.

  18. Good website! I really love how it is simple on my eyes and the data are well written. I am wondering how I could be notified when a new post has been made. I have subscribed to your RSS feed which must do the trick! Have a great day!

  19. O Butterfly Blossom tá pagando melhor que o Raider Jane’s Crypt of Fortune essa semana ou eu tô tiltado?

  20. I was recommended this website by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my difficulty. You’re wonderful! Thanks!

  21. Hmm it seems like your blog ate my first comment (it was super long) so I guess
    I’ll just sum it up what I submitted and say, I’m
    thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any tips and hints for rookie blog writers? I’d certainly appreciate it.

  22. Thanks for the interesting things you have unveiled in your writing. One thing I would like to reply to is that FSBO associations are built eventually. By introducing yourself to owners the first end of the week their FSBO is actually announced, before the masses begin calling on Monday, you generate a good connection. By mailing them tools, educational elements, free accounts, and forms, you become a great ally. By taking a personal fascination with them and also their problem, you build a solid interconnection that, most of the time, pays off as soon as the owners decide to go with a realtor they know and also trust — preferably you.

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>