#3556: No way to disable SASL authentication in IMAP
-------------------------------+--------------------------------------------
Reporter: analizer | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version: 1.5.18
Keywords: patch, sasl, imap |
-------------------------------+--------------------------------------------
Changes (by xrgtn):
* cc: xrgtn@… (added)
* version: 1.5.21 => 1.5.18
Comment:
Here I go again:
imap.yandex.ru started to advertise AUTH=PLAIN since Dec, 15, but its
implementation of PLAIN is broken. mutt tries PLAIN first and then LOGIN
but this sequence fails as imap.yandex.ru drops connection.
imap.yandex.ru didn't advertise PLAIN prior to Dec, 14, and mutt worked
just fine using LOGIN
fetchmail uses LOGIN without trying PLAIN before it and fetchmail works OK
with imap.yandex.ru
Most obvious workaround would be to force mutt to use LOGIN first by set
imap_authenticators="LOGIN" but this doesn't work because of bug in
imap_authenticators processing ("LOGIN" method is tried with
imap_auth_sasl() first, then with imap_auth_login(), resulting in the
connection drop by imap.yandex.ru).
I attach my version of the patch (my version is against 1.5.18 but it
should work just fine against recent mutt).
--
WBR,
xrgtn
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3556#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent