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

  1. профильные трубы по размерам и сечению профильная труба таблица

  2. профильные трубы сортамент и размеры профильные трубы размеры с толщиной стенки

  3. Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t show
    up. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say excellent
    blog!

  4. I think the admin of this site is in fact working hard in support
    of his web site, since here every information is quality based data.

  5. I feel that is among the most important information for me.

    And i am glad reading your article. However want to remark on some basic
    issues, The site taste is ideal, the articles is actually nice : D.
    Good task, cheers

  6. My programmer is trying to convince me to move to .net from PHP. I have always disliked the idea because of the costs. But he’s tryiong none the less. I’ve been using WordPress on a number of websites for about a year and am worried about switching to another platform. I have heard excellent things about blogengine.net. Is there a way I can transfer all my wordpress posts into it? Any help would be greatly appreciated!

  7. casino brisbane united states, 50 free online casino games winstar (Kay) spins no deposit 2021 nz and
    gambling issues in australia, or parhaat casino tarjousaset

  8. Howdy! Quick question that’s totally off topic.
    Do you know how to make your site mobile friendly?
    My web site looks weird when browsing from my iphone 4.

    I’m trying to find a template or plugin that might be able to correct this problem.
    If you have any suggestions, please share. Appreciate it!

  9. Hello there! I could have sworn I’ve visited this web site before
    but after browsing through many of the articles I realized it’s new
    to me. Regardless, I’m certainly delighted I found it and I’ll
    be bookmarking it and checking back regularly!

  10. legal gambling sites in australia, 7 bit casino
    no deposit bonus 2021 (Neville) united kingdom bonus sans depot and
    poker online with friends canada, or what online gambling is legal in united states

  11. Сайт odessa-mama.in.ua рассказывает о новостях и событиях Одессы. Здесь также можно найти статьи об истории города и полезную информацию о городских местах и услугах.

  12. A person necessarily lend a hand to make critically posts
    I might state. This is the first time I frequented your web page and to this point?
    I surprised with the analysis you made to create this actual post amazing.

    Wonderful 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>