mail::box::imap4

Tom Allison <[email protected]> Sun, 19 Dec 2004 15:39:49 -0500
Newsgroups gmane.comp.lang.perl.modules.mail-box
Message-ID <[email protected]>
I'm posting the results of a conversation I had on the dovecot mailing 
list regarding AUTH.
 From what they say here, it seems that there should have been either an 
AUTH test, an option to test, or a method to specify the AUTH method 
before hand.


On Sun, 2004-12-19 at 07:33 -0500, Tom Allison wrote:

 >> Uh...
 >> I'm trying to debug an application and keep running into this:
 >> DEBUG: Sending: 1 AUTHENTICATE CRAM-MD5
 >> DEBUG: Sent 25 bytes
 >> DEBUG: Read: 1 NO Authentication failed: Unsupported authentication
 >> mechanism
 >> DEBUG: Read: * BYE Disconnected for inactivity.
 >>
 >> So is this really asking for "digest-md5" or am I S.O.L?


0.99.x doesn't support CRAM-MD5 without patching it. And in any case you
need to enable cram/digest before it can be used from auth_mechanisms
setting.

That client shouldn't have even tried the AUTHENTICATE CRAM-MD5 command
if server didn't give AUTH=CRAM-MD5 capability..