fetchmail-friends
[Top] [All Lists]

Re: authentication failure with UW imapd IMAP4rev1 2000.283

2001-02-10 14:47:10
Todd Sabin <tas(_at_)webspan(_dot_)net>:
One one side, I can use my fetchmail 5.6.2 to go to one of our UW imap 
server (running IMAP4rev1 v12.264), but when I try to go to the 2nd 
server (running IMAP4rev1 2000.283), it fails. Details :
[...]

You need the patch below.  I sent this a while back when someone else
had the same problem, but it doesn't seem to have been applied to
the source, yet.  The patch is against an older version of fetchmail,
probably 5.5.5...

Assuming this works, something similar needs to be done to the rest
of the SASL mechanisms as well...

Argh.  Todd, your fix is not going to apply as-is.  The problem is that
I refactored the way CRAM is handled so that I could support CRAM-MD5 
authentication in ODMR as well as IMAP.  Take a look at the new cram.c 
and odmr.c modules to see what I mean...

Would you please download the 5.6.3 sources and do what's necessary 
to make CRAM work?  I'd do this myself, but the IMAP server I have
available to test with doesn't support CRAM.

You may have to pull something odd, like passing a pointer to the
appropriate ok_* function in through do_cram_md5()'s arguments.
-- 
                <a href="http://www.tuxedo.org/~esr/";>Eric S. Raymond</a>

To stay young requires the unceasing cultivation of the ability to
unlearn old falsehoods.
        -- Lazarus Long