Skip Menu |

This queue is for tickets about the Mail-IMAPClient CPAN distribution.

Report information
The Basics
Id: 17693
Status: resolved
Priority: 0/
Queue: Mail-IMAPClient

People
Owner: Nobody in particular
Requestors: danny.siu [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: DJKERNEN [...] cpan.org
Subject: Mail::IMAPClient 2.2.9 - Patch for PREAUTH support
Date: Fri, 17 Feb 2006 03:55:30 -0800
To: bug-Mail-IMAPClient [...] rt.cpan.org
From: Danny Siu <danny.siu [...] gmail.com>
Hi, IMAPClient would inf-loop in connet() if the IMAP server supports PREAUTH (like Dovecot). The following patch fixes the problem. diff IMAPClient.pm IMAPClient.pm.orig 280c280 < ($code) = $o->[DATA] =~ /^\*\s+(OK|BAD|NO|PREAUTH)/i ; --- Show quoted text
> ($code) = $o->[DATA] =~ /^\*\s+(OK|BAD|NO)/i ;
290,295d289 < # preauthenticated < if ($code =~ /PREAUTH/ ) { < $self->State(Authenticated); < return $self; < } < -- Danny Siu
New maintainer. Your patch is accepted for 2.99_02, which needs testers!