Timo Sirainen <[EMAIL PROTECTED]> writes:

> I could yesterday also reproduce the broken INTERNALDATE pretty
> easily, but I can't anymore after that patch..

I can now reproduce one problem quite easily, with:

$ A=6 ; ./send_fetch_test.py [EMAIL PROTECTED] pw file& sleep $A; 
./send_fetch_test.py [EMAIL PROTECTED] pw file

The A sleep value is the runtime of the script. If I have the mailbox
open and in IDLE, 2 seems to work out. So the trick is to have the
second instance expunge the mailbox just as the first instance is
about to receive its message.

That gives me output like this (with the two processes mixed):

['./send_fetch_test.py', '[EMAIL PROTECTED]', 'pw', 'file']
2008-05-26 00:06:13.190925 Sent 30 bytes to [EMAIL PROTECTED]
2008-05-26 00:06:13.191258 No messages in INBOX. Waiting...
2008-05-26 00:06:14.191755 No messages in INBOX. Waiting...
2008-05-26 00:06:15.192545 No messages in INBOX. Waiting...
2008-05-26 00:06:16.193528 No messages in INBOX. Waiting...
2008-05-26 00:06:17.194486 No messages in INBOX. Waiting...
2008-05-26 00:06:18.198344 No messages in INBOX. Waiting...
['./send_fetch_test.py', '[EMAIL PROTECTED]', 'pw', 'file']
2008-05-26 00:06:19.188813 Sent 30 bytes to [EMAIL PROTECTED]
2008-05-26 00:06:19.189098 No messages in INBOX. Waiting...
2008-05-26 00:06:19.198841 **** ERROR: Got invalid RFC822.SIZE 0: 1 (UID 1368 
FLAGS (\Recent) INTERNALDATE "01-Jan-1970 00:00:00 +0000" RFC822.SIZE 0)
2008-05-26 00:06:20.189559 No messages in INBOX. Waiting...
2008-05-26 00:06:20.199554 **** ERROR: Got invalid RFC822.SIZE 0: 1 (UID 1368 
FLAGS (\Deleted \Recent) INTERNALDATE "01-Jan-1970 00:00:00 +0000" RFC822.SIZE 
0)
2008-05-26 00:06:21.190381 No messages in INBOX. Waiting...
2008-05-26 00:06:21.200448 **** ERROR: Got invalid RFC822.SIZE 0: 1 (UID 1368 
FLAGS (\Deleted \Recent) INTERNALDATE "01-Jan-1970 00:00:00 +0000" RFC822.SIZE 
0)
2008-05-26 00:06:22.191418 No messages in INBOX. Waiting...
2008-05-26 00:06:22.201470 **** ERROR: Got invalid RFC822.SIZE 0: 1 (UID 1368 
FLAGS (\Deleted \Recent) INTERNALDATE "01-Jan-1970 00:00:00 +0000" RFC822.SIZE 
0)
2008-05-26 00:06:23.192353 No messages in INBOX. Waiting...
2008-05-26 00:06:23.207362 **** ERROR: Got invalid RFC822.SIZE 0: 1 (UID 1368 
FLAGS (\Deleted \Recent) INTERNALDATE "01-Jan-1970 00:00:00 +0000" RFC822.SIZE 
0)
2008-05-26 00:06:24.193537 No messages in INBOX. Waiting...
2008-05-26 00:06:24.208543 Got valid RFC822.SIZE 1104: 2 (UID 1369 FLAGS 
(\Recent) INTERNALDATE "26-May-2008 00:06:19 +0200" RFC822.SIZE 1104)
2008-05-26 00:06:25.194555 Got valid RFC822.SIZE 1104: 1 (UID 1369 FLAGS () 
INTERNALDATE "26-May-2008 00:06:19 +0200" RFC822.SIZE 1104)


I can only get this with Procmail delivery, not Dovecot "deliver".


Anders.

Reply via email to