Hi Tom,
On 23/01/2006 1:05 a.m., Tom Alsberg wrote:
Hi there...
Having updated to 1.0.beta1, I for a while thought a bad bug with IDLE handling that caused new mail in INBOX not to appear when using Mozilla Thunderbird has been solved. Although I can not reproduce one kind of problem anymore, after a short while it again appears that one does not always see one's new mail with Thunderbird.
I can not consistently reproduce the bug, but from some network captures it indeed appears that sometimes Thunderbird has (in one of its connections to the server) INBOX SELECTed and IDLE on it, new mail arrives, but 10 minutes afterwards it was still not sent an EXISTS message.
I am seeing something like this too and am using Thunderbird, but I'm not sure that this is actually a Thunderbird problem. I'm unsure when it first appeared but it's pre -beta1 anyway.
What seems to happen for me is that if the new mail is delivered into Maildir/new/ or a file copied in there, I don't often see it until TB does it's 2 minute "check-for-new-mail-in-all-folders" scan. Then it is picked up as a new mail. There is no network activity from the server to the client.
However if I put a file by hand, say for example "cp /etc/hosts /home/reuben/Maildir/cur" into Maildir/cur/ then Thunderbird sees it immediately. Dovecot sends this to the client and breaks the IDLE straight away:
367 53.927740 192.168.0.5 -> 192.168.0.8 IMAP Response: * 21 EXISTS
It's a bit strange but I can reproduce it on demand, Tom can you reproduce it that way too or is this a different bug? [I think it's the same one..]
reuben