Closed
Bug 358635
Opened 19 years ago
Closed 19 years ago
[Regression] last IMAP message not shown
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: udo_richter, Assigned: Bienvenu)
References
Details
(Keywords: fixed1.8.1, regression)
Attachments
(3 files)
3.73 KB,
application/x-compressed-tar
|
Details | |
3.61 KB,
application/octet-stream
|
Details | |
1.33 KB,
patch
|
mscott
:
superreview+
|
Details | Diff | Splinter Review |
I've found an issue with IMAP folders, where sometimes at least one mail is missing from the IMAP folder view while the mail is present on the server. The regression window is between 2006102704 and 2006102803 on 1.8 branch. The only mailnews related checkins in this time frame are bug 353841 and bug 350179, where only bug 350179 is directly related to IMAP.
Symptoms:
One mail, often the one that was added last, is missing from the mail folder, and the total/unread count is off by the same amount. The missing mail appears/disappears when switching between 2704 and 2803 builds. In case that the missing mail is a new mail that arrived on server, the total/unread counter decreases by one on folder opening. Re-building the index does not fix this.
I've verified this with a clean profile. The server is Courier IMAP 3.0.8-4sarge5 of Debian. I have full access to the server and can do some sniffing if needed.
Confirmed by forum report:
http://forums.mozillazine.org/viewtopic.php?t=477182&start=32
Assignee | ||
Comment 1•19 years ago
|
||
an imap protocol log would be very helpful here.
Reporter | ||
Comment 2•19 years ago
|
||
I've isolated a hidden mail (in fact, its the bugzilla mail notification for your answer) into an otherwise empty folder, and the bug is still triggered. The attachment contains this folder in Maildir format, plus two tcpdump files of the first access to that folder after starting thunderbird. (password removed.)
One tcpdump is from build 2006102303, where everything was fine. The mail count increased from 0 to 1 here. The other is from 2006102902. Here the mail was very briefly shown in the mail list, before the folder update decreased the mail count from 1 to 0 again.
The important part of the 2303 dump:
> 7 UID fetch 1:* (FLAGS)
>
> * 1 FETCH (UID 1 FLAGS (\Seen NonJunk))
> 7 OK FETCH completed.
>
> 8 UID fetch 1 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type)])
>
> * 1 FETCH (UID 1 RFC822.SIZE 2136 FLAGS (\Seen NonJunk) BODY[HEADER.FIELDS ("From" "To" "Cc" "Subject" "Date" "Message-ID" "Priority" "X-Priority" "References" "Newsgroups" "In-Reply-To" "Content-Type")] {288}
> Date: Sun, 29 Oct 2006 17:28:43 -0800
> Message-Id: <200610300128.k9U1ShAF015361@recluse.mozilla.org>
> Subject: [Bug 358635] [Regression] Not all mails shown on IMAP
> In-Reply-To: <bug-358635-20170@https.bugzilla.mozilla.org/>
> To: udo_richter@gmx.de
> From: bugzilla-daemon@mozilla.org
>
> )
> 8 OK FETCH completed.
The 2909 is the same, just without the 8 UID fetch 1 command.
Reporter | ||
Comment 3•19 years ago
|
||
This one is even more interesting. I've filled the folder with three copies of the mail, and made sure tb knows nothing about this folder by re-subscribing and going offline. The dump captures the next access to the folder.
> 5 UID fetch 1:* (FLAGS)
>
> * 1 FETCH (UID 1 FLAGS (\Seen NonJunk))
> * 2 FETCH (UID 19 FLAGS (\Seen NonJunk))
> * 3 FETCH (UID 20 FLAGS (\Seen NonJunk))
> 5 OK FETCH completed.
>
> 6 UID fetch 1:19 (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type)])
>
Although 1, 19 and 20 were announced, only 1-19 get fetched.
Assignee | ||
Comment 6•19 years ago
|
||
d'oh, off by one in figuring out how many flag+uid pairs we've seen
Attachment #244104 -
Flags: superreview?(mscott)
Updated•19 years ago
|
Attachment #244104 -
Flags: superreview?(mscott) → superreview+
Assignee | ||
Comment 7•19 years ago
|
||
fixed on trunk and branch, summary changed
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Summary: [Regression] Not all mails shown on IMAP → [Regression] last IMAP message not shown
Comment 8•19 years ago
|
||
This is Verified FIXED using build 2006-10-30-18 of SeaMonkey trunk under Windows XP with:
hemlock.uits.indiana.edu Cyrus IMAP4 Murder v2.2.10 server
CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS AUTH=GSSAPI SASL-IR
Status: RESOLVED → VERIFIED
Keywords: regression
Assignee | ||
Comment 9•19 years ago
|
||
*** Bug 358748 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 10•19 years ago
|
||
*** Bug 358751 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•19 years ago
|
||
*** Bug 359041 has been marked as a duplicate of this bug. ***
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•