Skip Menu |

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

Report information
The Basics
Id: 32933
Status: resolved
Priority: 0/
Queue: Mail-POP3Client

People
Owner: pop3client-USEMYCPANADDRESSFORHELP [...] dowds.net
Requestors: taki [...] 3ware.co.jp
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.17
Fixed in: 2.19



Subject: The APOP authentication fails on the Dovecot server.
APOP authentication fails because it cannot understand the timestamp of the msg-id form of the greeting message that Dovecot outputs. The Dovecot server outputs the following greeting: +OK Dovecot ready. <4149.d.47a7f3ae.SQlesZMXhrvlfSJkpVJLug==@foo.example.org> The following line of Connect() cannot understand it. $me->{MESG_ID}= $1 if ($msg =~ /(<[\w\d\-\.]+\@[\w\d\-\.]+>)/); It can be understood that this line is changed as follows. my $atom = qr([-_a-zA-Z0-9!#$%&'*+/=?^`{|}~]+); $me->{MESG_ID}= $1 if ($msg =~ /(<$atom(?:\.$atom)*\@$atom(?:\.$atom)*>)/o);
Hi taki, I *know* this is a very old bug report, but I was looking into the open tickets for Mail::POP3Client to see if I can fix some. Afaik your issue was fixed in 2.18. Can you confirm? If you have no further interest, that's also possible, in that case, it would still be great if you can reply with just that information. -- Mike On Tue Feb 05 01:22:40 2008, taki wrote: Show quoted text
> APOP authentication fails because it cannot understand the timestamp of > the msg-id form of the greeting message that Dovecot outputs. > > The Dovecot server outputs the following greeting: > +OK Dovecot ready. > <4149.d.47a7f3ae.SQlesZMXhrvlfSJkpVJLug==@foo.example.org> > > The following line of Connect() cannot understand it. > > $me->{MESG_ID}= $1 if ($msg =~ /(<[\w\d\-\.]+\@[\w\d\-\.]+>)/); > > It can be understood that this line is changed as follows. > > my $atom = qr([-_a-zA-Z0-9!#$%&'*+/=?^`{|}~]+); > $me->{MESG_ID}= $1 if ($msg =~ > /(<$atom(?:\.$atom)*\@$atom(?:\.$atom)*>)/o);