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

4,475 thoughts on “RoundCube 0.7.1 login failed

  1. Everything is very open with a really clear
    explanation of the issues. It was definitely informative.
    Your site is very useful. Many thanks for sharing!

  2. Дилер полного цикла npprteamshop.com Facebook аккаунты с пройденной верификацией документов предоставляет операционные инструкции и обзоры обновлений платформ. Кросс-платформенный ассортимент позволяет командам подбирать аккаунты для разных рекламных каналов в рамках одного доверенного поставщика. NPPRTeamShop.com — источник инфраструктуры кампаний для серьёзных перформанс-маркетологов без компромиссов.

  3. May I simply just say what a comfort to uncover somebody that genuinely knows what they’re talking about
    online. You definitely know how to bring a problem to light and make it important.
    More people ought to check this out and understand this side of the story.
    I can’t believe you are not more popular because you surely have the gift.

  4. Платформа NPPR Team Shop https://npprteamshop.com/email-accounts/yahoo/ сочетает автоматическую выдачу с ручной проверкой каждого лота перед публикацией. Подробные руководства по использованию помогают покупателям понять разницу между softreg selfreg farmed и восстановленными аккаунтами перед покупкой. Присоединяйтесь к медиабайерам которые заказывают на NPPR Team Shop — маркетплейсе созданном рекламодателями для рекламодателей.

  5. I read this paragraph completely on the topic
    of the resemblance of newest and previous technologies, it’s amazing article.

  6. Global marketplace NPPRTEAMSHOP aged yandex accounts features an extensive inventory updated daily across USA Europe and Asia-Pacific. Aged profiles from NPPRTEAMSHOP consistently outperform fresh registrations in delivery quality and checkpoint avoidance. Build your campaigns on accounts with proven trust — higher trust means better delivery lower costs and fewer interruptions.

  7. today’s racing results from wolverhampton​

    Look at my web blog how many people bet on the grand national​ (Marti)

  8. I don’t know if it’s just me or if everybody else experiencing
    issues with your website. It appears as though some
    of the written text in your content are running off the
    screen. Can somebody else please comment and let me know if this is happening
    to them too? This might be a issue with my web browser because
    I’ve had this happen previously. Kudos

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

  10. great issues altogether, you simply won a logo new reader.

    What would you suggest about your publish that you just
    made a few days ago? Any certain?

  11. Качественный ремонт бытовой техники: ремонт стиральных машин волгоград. Предлагаем на совесть. Выезд бесплатно. Обращайтесь устраним любую поломку

  12. Качественный ремонт бытовой техники: ремонт стиральных машин в волгограде на дому. Выполняем на совесть. Выезд бесплатно. Звоните устраним любую поломку

  13. What’s Happening i am new to this, I stumbled upon this I have found It absolutely helpful
    and it has aided me out loads. I am hoping to give a contribution & aid different customers
    like its aided me. Good job.

  14. Хочешь сайт на тильде? разбор лендинги сайты услуг интернет-магазины корпоративные проекты и портфолио с адаптивным дизайном SEO-подготовкой интеграциями и удобной системой управления контентом.

  15. Хочешь сайт на тильде? вот здесь лендинги сайты услуг интернет-магазины корпоративные проекты и портфолио с адаптивным дизайном SEO-подготовкой интеграциями и удобной системой управления контентом.

  16. Greetings! This is my first comment here so I just wanted to give a quick shout out and tell you I
    genuinely enjoy reading through your blog posts. Can you recommend any other
    blogs/websites/forums that go over the same topics?

    Appreciate it!

  17. Hello I am so glad I found your website, I really found you by error, while I was researching on Yahoo for something else,
    Anyways I am here now and would just like to say thanks
    for a incredible post and a all round exciting blog (I also love the theme/design), I don’t have time to look over it all at the minute but I have saved it and also added your RSS feeds,
    so when I have time I will be back to read a great deal more, Please
    do keep up the fantastic jo.

  18. My partner and I stumbled over here by a different web address and thought I might check things out.
    I like what I see so now i’m following you. Look forward to finding out
    about your web page yet again.

  19. Wow, incredible blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your website is fantastic, as well as the content!

  20. I just could not depart your site prior to
    suggesting that I extremely enjoyed the standard information an individual provide for
    your visitors? Is going to be back regularly to check up on new posts

  21. I’m in awe of the author’s capability to make complex concepts accessible to readers of all backgrounds. This article is a testament to his expertise and commitment to providing valuable insights. Thank you, author, for creating such an captivating and enlightening piece. It has been an unforgettable experience to read!

  22. Жіночий журнал https://womandb.com про красу моду здоровя стосунки сімю та стиль життя. Читайте корисні поради актуальні тренди рецепти психологію догляд за собою та цікаві статті для сучасних жінок.

  23. whoah this weblog is magnificent i like studying your posts.
    Keep up the good work! You already know, many persons are searching around for
    this information, you could help them greatly.

  24. Последние одесские новости https://dverikupe.od.ua и происшествия за сегодня: оперативная информация о событиях в Одессе и области ДТП происшествиях работе городских служб политике экономике обществе погоде и других важных новостях дня.

  25. Повышение квалификации https://kursdpo.ru и переподготовка для работников образования с учетом актуальных требований. Курсы для учителей воспитателей преподавателей психологов логопедов и руководителей образовательных учреждений в удобном формате обучения.

  26. If you wish for to grow your familiarity just keep visiting this website and be updated with the most up-to-date news update posted here.

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>