On 166, 06 15, 2006 at 11:52:32 +0200, Anders Karlsson wrote:
Hi all,
Have anyone had problems with Exhange 2003 servers trying to use sasl
against Postfix+Dovecot SASL using the AUTH LOGIN Mechanism ?I've done some smtp debugging, and it seems that Exchange sends the
usename at the same time as AUTH LOGIN i.e:AUTH LOGIN
It then expects to be able to send the password.
mech-login.c silently discards all data after AUTH LOGIN and just
prompts the username prompt whetever the username has already been
supplied during initial AUTH LOGIN request.I've attached a patch to make mech-login.c check if additional data
has been sent along with AUTH LOGIN, and in this case skip ahead
directly to the Password: prompt.
Except some unneeded whitespace, patch looks correct. Timo, please consider applying.
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net