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

  1. Awesome! Its truly awesome paragraph, I have got much clear idea about from this piece of writing.

  2. beste wettanbieter in deutschland

    Here is my web blog – basketball wetten anbieter aus bewertungskriterien? (Gale)

  3. Good post. I learn something new and challenging on sites I stumbleupon everyday.
    It will always be helpful to read through content from
    other authors and use something from their web sites.

  4. gambling regulations uk, best programme roulette casino (Lettie) app
    new zealand and uk casino 10 no deposit,
    or paypal online casino uk

  5. 888 poker new zealand app, online poker in australia legal and united statesn casino slots online, or are poker
    machines legal in western canada

    Visit my site at&t blackjack (Tamara)

  6. Откройте для себя https://icz.com.ua мир красоты здоровья и вдохновения. Читайте полезные статьи о моде уходе за собой психологии отношениях семье правильном питании путешествиях и гармоничной жизни современной женщины.

  7. Все самое интересное https://ramledlightings.com для женщин в одном месте. Советы по уходу за собой обзоры косметики секреты красоты идеи стильных образов рекомендации по здоровью отношениям и воспитанию детей.

  8. Ежедневно публикуем https://presslook.com.ua полезные статьи для женщин о здоровье красоте моде психологии любви семье кулинарии саморазвитии путешествиях финансах и современных тенденциях образа жизни.

  9. Женский онлайн-журнал https://lolitaquieretemucho.com с интересными материалами о красоте здоровье стиле модных тенденциях косметике фитнесе воспитании детей домашнем уюте карьере и личностном развитии.

  10. is online casino mit paydirekt (Annis)
    pokies banned in united states, gousaos quest free spins no deposit and play free usa bingo, or
    usa real money slots no deposit bonus

  11. Детский центр https://run.org.ua развития и здоровья с комплексными программами для детей разных возрастов. Развивающие занятия логопед психолог подготовка к школе творческие кружки физическое развитие диагностика и индивидуальный подход к каждому ребенку.

  12. wettquoten bielefeld stuttgart

    Feel free to visit my site – basketball wett strategien (Les)

  13. лента 29нк лента стальная со склада

  14. лента стальная цена лента стальная оптом

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>