Hi, 2 or 3 customers have reported that they are having problems downloading their mail via. POP3. I have attached the rawlogs of their transactions and the UID list at the time. Is this because I am using an incompatible UID format or is something else at fault? Deleting the UID list and indexes fixes the problem. I am using Test72. Regards Andrew -- Andrew Hutchings (A-Wing) - Linux Guru Netserve Consultants - http://www.domaincity.co.uk/ A-Wing Internet Services - http://www.a-wing.co.uk/ Random quote 148: "We had planned to integrate a Web browser with our operating system as far back as 1993" - Microsoft (27 Jul 1998, filing its first court responses to federal antitrust) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 20050627-113958-10754.in URL: <http://dovecot.org/pipermail/dovecot/attachments/20050628/8a5e3e69/attachment-0003.pl> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 20050627-113958-10754.out URL: <http://dovecot.org/pipermail/dovecot/attachments/20050628/8a5e3e69/attachment-0004.pl> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dovecot-uidlist.old URL: <http://dovecot.org/pipermail/dovecot/attachments/20050628/8a5e3e69/attachment-0005.pl>
On 28.6.2005, at 11:39, Andrew Hutchings wrote:> 2 or 3 customers have reported that they are having problems > downloading their mail via. POP3. I have attached the rawlogs of > their transactions and the UID list at the time. Is this because I am > using an incompatible UID format or is something else at fault? > Deleting the UID list and indexes fixes the problem. I am using > Test72.Sounds a bit like the Thunderbird problem.. ..> -ERR Message is deleted. > -ERR Message is deleted. > -ERR Message is deleted. > -ERR Too many bad commands.But this is why it really fails. Dovecot disconnects the client here. Hmm. I'll make the disconnection happen only when sending enough (20) unknown commands, not when sending known commands but with invalid parameters. This should fix it: Index: client.c ==================================================================RCS file: /var/lib/cvs/dovecot/src/pop3/client.c,v retrieving revision 1.55 diff -u -r1.55 client.c --- client.c 28 May 2005 11:20:49 -0000 1.55 +++ client.c 28 Jun 2005 09:52:24 -0000 @@ -351,7 +351,7 @@ else *args++ = '\0'; - if (client_command_execute(client, line, args)) { + if (client_command_execute(client, line, args) >= 0) { client->bad_counter = 0; if (client->cmd != NULL) { o_stream_set_flush_pending(client->output, Index: commands.c ==================================================================RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v retrieving revision 1.44 diff -u -r1.44 commands.c --- commands.c 23 May 2005 19:46:27 -0000 1.44 +++ commands.c 28 Jun 2005 09:52:24 -0000 @@ -688,5 +688,5 @@ } client_send_line(client, "-ERR Unknown command: %s", name); - return FALSE; + return -1; } -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050628/f8292af9/attachment-0001.bin>
Timo Sirainen wrote:> On 28.6.2005, at 11:39, Andrew Hutchings wrote: > >> 2 or 3 customers have reported that they are having problems >> downloading their mail via. POP3. I have attached the rawlogs of >> their transactions and the UID list at the time. Is this because I am >> using an incompatible UID format or is something else at fault? >> Deleting the UID list and indexes fixes the problem. I am using Test72. > > > Sounds a bit like the Thunderbird problem.. > > ..Sounds like it, but that client was Outlook 2003, and I have had a client using entourage with the same problem last week, it isn't a very common problem.> >> -ERR Message is deleted. >> -ERR Message is deleted. >> -ERR Message is deleted. >> -ERR Too many bad commands. > > > But this is why it really fails. Dovecot disconnects the client here. > Hmm. I'll make the disconnection happen only when sending enough (20) > unknown commands, not when sending known commands but with invalid > parameters. This should fix it: >Thanks, I shall patch up and let you know of any other strange goings on, getting harder to find problems though, you may have to beta soon at this rate. Regards Andrew -- Andrew Hutchings (A-Wing) - Linux Guru Netserve Consultants - http://www.domaincity.co.uk/ A-Wing Internet Services - http://www.a-wing.co.uk/ Random quote 159: "If you want to travel around the world and be invited to speak at a lot of different places, just write a Unix operating system." - (By Linus Torvalds)