Closed Bug 386425 Opened 17 years ago Closed 17 years ago

Failure to APPENDUID causes "Mailbox does not exist error"

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Windows Vista
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Bienvenu)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file Logfile of trunk
Build ID: version 3.0a1pre (20070630)

Summary: Failure to APPENDUID causes "Mailbox does not exist error"

Lately--I haven't yet figured out when this regressed, sorry--I've been getting the above error dialog (in quotes), likely caused by a failure to correctly issue/execute the APPENUID command on the Sent folder on my IMAP server.

Here's the relevant snippet from the Thunderbird 2.0.0.4 log:

2996[14a6728]: 3c591f0:imap.iu.edu:A:SendData: 7 append "INBOX.Sent" (\Seen) {496+}
(then the message itself, followed by):
2996[14a6728]: 3c591f0:imap.iu.edu:A:SendData: 
2996[14a6728]: ReadNextLine [stream=3d122c0 nb=44 needmore=0]
2996[14a6728]: 3c591f0:imap.iu.edu:A:CreateNewLineFromSocket: 7 OK [APPENDUID 1111563999 7869] Completed

Now, trunk:

1824[484acb0]: 4926608:imap.iu.edu:A:SendData: 7 append "INBOX/Sent" (\Seen) {511+}
1824[484acb0]: 4926608:imap.iu.edu:A:SendData: Message-ID: <46866306.7040000@iusb.edu>
(message contents, followed by):
1824[484acb0]: 4926608:imap.iu.edu:A:SendData: 
1824[484acb0]: ReadNextLine [stream=35daac0 nb=29 needmore=0]
1824[484acb0]: 4926608:imap.iu.edu:A:CreateNewLineFromSocket: 7 NO Mailbox does not exist

Steps to Reproduce:

1. With a "Cyrus IMAP4 Murder v2.2.10" server account, do a File | Send Page of pretty much anything (note that I don't yet have a reduced, 100% testcase, as sometimes this works, sometimes it doesn't!)

Expected Results:

Message is copied to my Sent folder

Actual Results:

Message isn't copied to my Sent folder (even when sent successfully), and I get dialogs saying "Mailbox does not exist"
David, let me know if you want/need access to my IMAP server for debugging/reproducing the issue...
Also, an important omission from comment 0 is that in order to reproduce this, you must NOT have launched thunderbird.exe prior to doing the File | Send Link.  That is, if you have a Thunderbird process already open, the File | Send goes through without a hitch, copies to the Sent folder, and doesn't throw up any dialog about "Mailbox does not exist" after the previous dialog says "Looking for folders..."
Sounds like somehow we've forgotten the hierarchy delimiter for your Inbox, and if you do a file | send that launches TB, we construct the URL before connecting to the server for the first time, and get the wrong hierarchy delimiter. This could be a problem with the folder cache, perhaps not finding the entry for the INBOX.
Status: NEW → ASSIGNED
Unfortunately, I'm hitting bug 380872 when trying to find a trunk regression window :-(

In that rather large window of 2007-05-14 to 2007-05-21, I found bug 380461 and bug 379070.

Sorry, I'm unable to nail it down further...
(In reply to comment #4)
> Unfortunately, I'm hitting bug 380872 when trying to find a trunk regression
> window :-(
> 
> In that rather large window of 2007-05-14 to 2007-05-21, I found bug 380461 and
> bug 379070.
> 
> Sorry, I'm unable to nail it down further...

My money's on bug 380461.

Flags: blocking-thunderbird3?
cc:ing mscott, since he actually fixed bug 380461 (my quick glance at that bug had it pegged as david, since he was left in the assigned to).
Stephen, is this still happening? I fixed a regression on the trunk having to do with the folder cache a week or two ago.
I keep hitting bug 388532 on the trunk.  Will test this bug after that lands.
I've had no problems with this, using version 3.0a1pre (2007073104) of Thunderbird trunk.  David, is there a bug I can point to so as to properly mark this as FIXED?  Thanks.
Flags: in-litmus?
Thx, Stephen. This is my guess as to the fix: bug 386692
Make it so. -> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Verified with version 3.0a1pre (2007073104)
Status: RESOLVED → VERIFIED
Flags: blocking-thunderbird3?
Product: Core → MailNews Core
Flags: in-litmus?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: