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

2,557 thoughts on “RoundCube 0.7.1 login failed

  1. Nice post. I was checking constantly this blog and I’m
    impressed! Extremely useful info particularly the last part :
    ) I care for such information much. I was seeking this particular information for a very long time.
    Thank you and best of luck.

  2. can you play online casino in united states, real
    money online pokies usa and united statesn poker 95 download,
    or united statesn huge welcome bonus casino (Houston) free spins
    no deposit

  3. With havin so much content and articles do you ever run into any problems of plagorism or copyright
    infringement? My site has a lot of completely unique content I’ve either authored myself
    or outsourced but it seems a lot of it is popping it up all over the internet without my agreement.

    Do you know any techniques to help stop content from being ripped off?
    I’d truly appreciate it.

  4. I was curious if you ever considered changing the structure of your blog?
    Its very well written; I love what youve got to say. But maybe you could a little more
    in the way of content so people could connect with it
    better. Youve got an awful lot of text for only having one or two pictures.

    Maybe you could space it out better?

  5. all new zealandn poker rules, 5 dollar min deposit casino united states
    and bet365 blackjack wanneer splitsen (Stan)
    hints uk, or united kingdom no deposit casino
    bonuses

  6. Hmm it appears like your site ate my first comment (it was super long)
    so I guess I’ll just sum it up what I submitted and say, I’m thoroughly enjoying your blog.
    I as well am an aspiring blog writer but I’m still new to everything.
    Do you have any tips for beginner blog writers?

    I’d really appreciate it.

  7. What’s Going down i’m new to this, I stumbled upon this I’ve discovered It absolutely useful and it has aided me out loads.
    I am hoping to give a contribution & help other customers like its helped me.
    Great job.

  8. Excellent weblog right here! Also your web site a lot up very fast!
    What web host are you using? Can I am getting your associate link in your host?
    I want my website loaded up as quickly as yours lol

  9. Hi! Do you know if they make any plugins to safeguard against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  10. Howdy! Do you use Twitter? I’d like to follow you if that would be ok.
    I’m absolutely enjoying your blog and look forward to new
    posts.

  11. cash frenzy free slots, best usa casino websites and canadian poker 2 novomatic online, or
    mobile casino no deposit bonus usa

    Here is my page … life is gamble (Stefan)

  12. This piece of writing is actually a fastidious one it assists new net users, who are wishing for blogging.

  13. no wager united statesn casino, 100 slots bonus uk and same-day withdrawal online casinos united states, or
    bet365 play united statesn roulette online uk

    Look at my homepage … lay bets craps (John)

  14. gambling casino usa, roulette ai automatic and yukon gold mgm pa online casino app (Amelie), or 50 free spins thunderstruck no deposit usa

  15. new zealandn style roulette wheel, free online games to win real
    money no deposit australia and casino online real money australia, or
    native united statesn list of chickasaw casinos; Irvin, in montana

  16. Hurrah! At last I got a weblog from where I be able to actually get useful facts regarding my study and knowledge.

  17. I got this web page from my friend who informed me concerning this website
    and now this time I am visiting this site and reading very informative articles here.

  18. I will immediately grab your rss as I can not find your email subscription hyperlink
    or newsletter service. Do you have any? Kindly permit me understand so that I could subscribe.
    Thanks.

  19. Just want to say your article is as astounding.

    The clearness in your post is simply spectacular and i can assume you are an expert
    on this subject. Fine with your permission allow me to grab your RSS feed to keep updated with
    forthcoming post. Thanks a million and please keep up the enjoyable work.

  20. united statesn free pokies games, free pokies 4u canada and uk
    when following your responsible gambling code of practice what
    is the requirement for (Wilhemina) bill,
    or usa gambling license

  21. Good day! I could have sworn I’ve visited this website before but after looking at many of the articles
    I realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be book-marking it and checking back
    frequently!

  22. no deposit bonus codes usa, online casino australia reddit
    and legal online what are the cons of gambling –
    Stella – sites usa, or online slots united states reddit

  23. I’m not sure exactly why but this web site is loading extremely slow for me.
    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later on and see if the problem still exists.

  24. Hey there! I know this is kinda off topic but I’d figured
    I’d ask. Would you be interested in trading links or maybe guest authoring a blog post or vice-versa?
    My blog addresses a lot of the same topics as yours and I
    feel we could greatly benefit from each other.
    If you are interested feel free to send me an email. I look forward to hearing from you!
    Wonderful blog by the way!

  25. We’re a group of volunteers and starting a new scheme in our community.
    Your website offered us with valuable information to work on. You have done a formidable job and our
    whole community will be grateful to you.

  26. 200 free spins no deposit united states, united statesn online casino win real money and real money online casino canada app,
    or online casino canada free chip

    my blog … how to play the gambler on ukulele –
    Brenda,

  27. Hi! I know this is kinda off topic but I was wondering which blog platform are you using for
    this website? I’m getting tired of WordPress
    because I’ve had problems with hackers and I’m looking at options for another platform.
    I would be fantastic if you could point me in the direction of a good platform.

  28. I got this site from my buddy who shared with me concerning this
    web site and at the moment this time I am visiting this website and
    reading very informative posts here.

  29. Howdy would you mind stating which blog platform
    you’re working with? I’m looking to start
    my own blog in the near future but I’m having a tough time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems different then most blogs and I’m
    looking for something unique. P.S Sorry for being off-topic but I had to ask!

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>