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

12,891 thoughts on “RoundCube 0.7.1 login failed”

  1. of course like your web-site however you have to take a look at the spelling on quite a few of your
    posts. A number of them are rife with spelling problems and
    I in finding it very bothersome to inform the reality then again I’ll surely come back again.

  2. I?d must verify with you here. Which isn’t something I normally do! I get pleasure from reading a put up that will make folks think. Also, thanks for permitting me to comment!

  3. casino bonus buy usa, united kingdom casino guide and canada offshore gambling
    apps that give you free money (Mira),
    or united kingdom casino slots

  4. casino las vegas usa, online pokies united states real money paypal and largest casino in australia 2021, or no deposit bonus australian online casino

    Also visit my website; baccarat software free download (Wanda)

  5. major poker in canada, best australian casino sites and
    cash poker online canada, or the best online methodist view on gambling (Dwain) sites uk

  6. certainly like your web-site but you have to check the spelling on several of your posts. Several of them are rife with spelling issues and I find it very troublesome to tell the truth nevertheless I?ll definitely come back again.

  7. milwausaee wisconsin casino, casino age limit uk and what poker
    sites are legal in australia, or casino cornwall ontario united kingdom

    My page – gambling fixed matches [Pat]

  8. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an impatience over
    that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this hike.

  9. Hola! I’ve been following your web site for some time now and finally
    got the courage to go ahead and give you a shout out from
    Huffman Texas! Just wanted to say keep up the excellent job!

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>