"Kevin J. Menard, Jr." wrote:
>
> Hey David,
>
> Wednesday, July 25, 2001, 12:02:50 AM, you wrote:
>
> DF> I recreated your situation on my own system... but had no trouble...
>
> DF> cyradm -u cyrus localhost
> DF> Please enter your password: ********
> DF> IMAP Password: ******** (Why it asks for two passwords I don't
> DF> know... =] )
>
> I could be wrong here, but the first pass through is for MD5 SASL passwords
> or something. If that doesn't work, it falls back to a plaintext protocol,
> which would be sending a LOGIN command to the IMAP server directly. I don't
> know why the SASL passwd look up succeeds with LOGIN and not the other way,
> but go figure :-P
Close. The first is for a failed PLAIN attempt, and the second is for
IMAP LOGIN. This is a bug in IMAP.pm that I fixed in CVS. If you're
interested, just comment (or remove) the following line:
$opts{-mechanism} .= 'PLAIN';
This line was forcing cyradm to try PLAIN even if the server didn't
advertise it.
Ken
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp