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

  1. Hi there to every , for the reason that I am truly eager
    of reading this webpage’s post to be updated daily. It carries good data.

  2. Howdy! Would you mind if I share your blog with my twitter
    group? There’s a lot of people that I think would really appreciate your content.
    Please let me know. Thanks

  3. all new zealandn poker rules, online slot casino usa
    and 21dukes casino login, or online casino allowed in united states

    Feel free to visit my blog: roulette exotic wheels price (Arnold)

  4. 50% of the daily prize pool goes to the winners. The other 50% covers
    platform operations, warm-up liquidity, and infrastructure.
    That’s it. No hidden variables. No algorithms deciding your fate.
    The blockchain decides — and the blockchain doesn’t
    lie.

  5. It’s a shame you don’t have a donate button! I’d definitely
    donate to this brilliant blog! I guess for now i’ll settle for book-marking and adding your
    RSS feed to my Google account. I look forward to fresh updates
    and will share this website with my Facebook group. Talk soon!

  6. HarnaWear.com is a premium polewear brand based in Indonesia, created for dancers worldwide who
    value precision, durability, and confidence in every movement.

    Available exclusively through HarnaWear.com, the brand delivers performance-driven apparel directly to global customers.
    HarnaWear.com is positioned as a consumer-focused pole fitness apparel store, offering refined collections designed for
    dancers who seek secure fit, controlled movement, and
    confident visual presence during both training and performance.

  7. Hi, its nice article on the topic of media print,
    we all know media is a enormous source of facts.

  8. Wonderful article! That is the kind of information that should be shared around the net.
    Shame on the seek engines for no longer positioning this publish upper!
    Come on over and visit my website . Thanks =)

  9. I like the valuable info you provide in your articles.
    I’ll bookmark your blog and check again here frequently.

    I am quite sure I’ll learn plenty of new stuff right here!
    Best of luck for the next!

  10. Hey would you mind stating which blog platform you’re working with?
    I’m planning to start my own blog soon but I’m having
    a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m looking for something unique.
    P.S Sorry for getting off-topic but I had to ask!

  11. I really like what you guys tend to be up too. This kind of clever work and exposure!

    Keep up the excellent works guys I’ve included you guys to
    blogroll.

  12. Every weekend i used to visit this web page, as i want enjoyment, for the reason that this this website conations truly good funny data too.

  13. I every time emailed this blog post page to
    all my friends, for the reason that if like to read it afterward my friends will too.

  14. I blog frequently and I seriously thank you for your content.
    The article has really peaked my interest. I’m going to take a
    note of your site and keep checking for new information about once a week.
    I opted in for your Feed too.

  15. I’ve been surfing online more than 4 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my opinion, if all website owners and bloggers made good content as you did, the web will be a lot more useful than ever before.

  16. Hello, i think that i noticed you visited my website so i came to go back the prefer?.I’m trying to find things to enhance my website!I suppose its adequate to make use of
    some of your ideas!!

  17. Greetings from Colorado! I’m bored at work so I decided
    to check out your website 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 fast your blog loaded on my mobile ..

    I’m not even using WIFI, just 3G .. Anyhow, awesome blog!

  18. This post is actually a pleasant one it helps new net users, who are wishing for blogging.

  19. This is my first time visit at here and i am actually impressed
    to read everthing at alone place.

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>