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

4,478 thoughts on “RoundCube 0.7.1 login failed

  1. Excellent pieces. Keep writing such kind of info
    on your site. Im really impressed by your blog.
    Hello there, You’ve performed an incredible job. I’ll definitely digg it and for my part suggest
    to my friends. I am confident they’ll be benefited from this website.

  2. What i don’t understood is in fact how you are now not really a lot
    more smartly-preferred than you might be right now.
    You’re very intelligent. You recognize thus significantly
    when it comes to this matter, produced me in my view consider
    it from numerous varied angles. Its like men and women don’t seem to be fascinated unless it’s one thing to accomplish with Girl
    gaga! Your own stuffs outstanding. All the time take care of it up!

  3. You actually make it appear so easy together with your presentation but I to find this matter to be really something which I think I would never understand. It sort of feels too complex and very vast for me. I am looking ahead to your subsequent submit, I will try to get the hold of it!

  4. This paragraph is in fact a pleasant one it assists new internet viewers,
    who are wishing for blogging.

  5. I am extremely impressed together with your writing skills as well as with the layout for your blog.
    Is that this a paid topic or did you modify it
    your self? Anyway stay up the excellent quality
    writing, it’s uncommon to look a great blog like this
    one nowadays..

  6. real money united statesn online casino, native united statesn casino
    issues and usa slot festival, or usa is gaming gambling (Kraig) license

  7. Nice post. I was checking continuously this weblog and I’m impressed!
    Extremely useful information particularly the ultimate section :) I
    care for such info a lot. I was seeking this particular information for a long time.
    Thank you and good luck.

  8. Just want to say your article is as amazing. The clarity in your post is simply
    spectacular and i can assume you are an expert
    on this subject. Well with your permission allow me to grab your feed
    to keep up to date with forthcoming post. Thanks a million and please continue the rewarding work.

  9. I have read so many content concerning the blogger lovers however this piece of
    writing is truly a fastidious article, keep it up.

  10. What’s up, I would like to subscribe for this blog to take
    newest updates, so where can i do it please help out.

  11. Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! However, how
    could we communicate?

  12. Hi, i read your blog occasionally and i own a similar one and i was just wondering
    if you get a lot of spam remarks? If so how do you protect against
    it, any plugin or anything you can suggest? I get so much lately it’s driving me mad so
    any help is very much appreciated.

  13. Все для Minecraft https://minecraft-files.ru/ в одном месте: моды скины карты текстуры и полезные загрузки для Java и Bedrock Edition. Находите лучшие дополнения следите за обновлениями используйте подробные гайды и безопасно скачивайте игровой контент.

  14. hello!,I really like your writing so a lot! proportion we be in contact more approximately your article on AOL?
    I require an expert on this area to solve my problem.
    May be that is you! Looking ahead to see you.

  15. Oh my goodness! Awesome article dude! Many
    thanks, However I am going through problems with your RSS.
    I don’t know the reason why I can’t subscribe to it.
    Is there anybody else having identical RSS issues? Anyone that knows the answer can you
    kindly respond? Thanks!!

  16. Whats up are using WordPress for your blog platform?
    I’m new to the blog world but I’m trying to get started and create my own. Do you require any coding expertise
    to make your own blog? Any help would be greatly appreciated!

  17. Магазин с фокусом на качество NPPR TEAM SHOP купить TikTok Ads аккаунт для белых офферов запускает многоступенчатую верификацию каждого аккаунта в защиту интересов покупателя. Заказы обрабатываются через защищённую систему оформления с несколькими способами оплаты и зашифрованной доставкой учётных данных через личный кабинет. Экономьте время и бюджет — заказывайте в NPPR TEAM SHOP и пропустите этап проб и ошибок с непроверенными источниками.

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>