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

6,424 thoughts on “RoundCube 0.7.1 login failed

  1. legal gambling age in united states, usa casinos and
    free spins no deposit united statesn pokies, or new uk paypal casino

    My web page … craps surf (Stan)

  2. I have been exploring for a bit for any high quality articles
    or blog posts on this sort of area . Exploring in Yahoo I ultimately stumbled upon this
    website. Studying this info So i am happy to exhibit that I have a very just right uncanny feeling I found out exactly what I needed.
    I most certainly will make sure to do not put out of
    your mind this website and give it a look regularly.

  3. Hi there very cool site!! Guy .. Excellent ..
    Wonderful .. I will bookmark your web site and take
    the feeds also? I’m happy to find a lot of useful information here within the publish, we want develop extra techniques in this regard, thanks for sharing.
    . . . . .

  4. When some one searches for his necessary thing, therefore he/she wants to be available that in detail, therefore that thing is maintained over here.

  5. Unquestionably imagine that which you said.
    Your favorite reason seemed to be at the
    net the easiest factor to be aware of. I say to you, I definitely get irked at
    the same time as other people consider issues that they plainly don’t
    know about. You managed to hit the nail upon the highest as neatly as defined out the
    whole thing without having side-effects , other people could take a signal.
    Will probably be back to get more. Thanks

  6. I will immediately seize your rss as I can’t to find your email subscription hyperlink or e-newsletter service. Do you’ve any? Kindly let me understand in order that I may subscribe. Thanks.

  7. top 10 usa casinos, casino bonus uk and all united statesn 10 cent
    bingo, or united statesn online casino betting app; Claudio, minimum deposit $10

  8. best deposit bonus is the downs casino open (Declan)
    nz, bet365 play blackjack online uk and online gambling market share uk,
    or are there casinos in usa

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>