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

9,371 thoughts on “RoundCube 0.7.1 login failed”

  1. australia no deposit online casino, united kingdom online casino free chip and new zealandn online pokies minimum $5 deposit, or
    online casino cell phone jammer (Anna) new usa

  2. how to win pokies nz, casino online uk paypal and
    what is the most trusted online grand casino open (Erika) in united
    states, or poker online uk free

  3. Подберите подходящее по условиям https://online-casino-polsha.info и переходите к доступным играм. Выберите из казино-играм и изучите доступные режимы. В игровом разделе вас ждут разные игровые категории. Хотите попробовать? Выбирайте подходящую игру. Перед регистрацией проверьте правила возрастные требования и доступность сервиса в вашем регионе. Играйте ответственно.

  4. Когда необходимо обеспечить нанять личную охрану для защиты в повседневных ситуациях. Профессиональная охрана помогают организовать контроль безопасности группы. При выборе специалистов важно проверить опыт работы. Нужна охрана? Закажите консультацию и обсудите подходящий формат охраны.

  5. android casino united kingdom, online casino in australia 2021
    and gambling casinos in toronto united states, or new zealandn online casino
    bet tanzania (Blondell) pokies

  6. casino las vegas usa, golden tiger casino uk and top online pokies
    and casinos australian open, or australian online gambling legislation

    my website: splitting 10′s in blackjack (Freda)

  7. casinos in windsor canada, bet365 free casino usa and casinos in saskatchewan united states, or online gambling casino nz

    Also visit my blog post bingo game payouts (Anneliese)

  8. is online casino dealer call center, Mollie, pokies banned in united states, casino
    united kingdom bonus sans depot and free usa cash bingo,
    or deposit 10 get usa

  9. canadian online pokies no minimum deposit, slot free spins no
    deposit uk scrivener and webb casino (Amy) grand mondial casino australia, or spin palace withdrawal canada

  10. free online casinos australia, sweet bonausaa online slot and slot machine for sale uk, or native united statesn casinos
    in montana

    Here is my site – how to run a craps table – Brianne -

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>