Opening Drafts folder on IMAP results in an alert regarding a failure



Folder and Message Lists
8 years ago
5 years ago


(Reporter: Ryan Foster, Unassigned)


(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)



(1 attachment)



8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/20090910 Shredder/3.0b4pre

Every time I attempt to open my Drafts folder on my IMAP account, Thunderbird presents an Alert Dialog containing the following message:

> The current command did not succeed.  The mail server responded:Can't save a > zero byte message.
> .

The tab for the folder then continues to display the "working" throbber instead of the icon, which implies that Thunderbird may be stuck in a loop.  Selecting a different folder will function normally, but selecting the Drafts folder again will result in the same behavior described above.

Reproducible: Always

Steps to Reproduce:
1. Open the 9/10/2009 nightly of Thunderbird
2. Connect to an IMAP account
3. Select the Drafts folder
4. Receive alert
Actual Results:  
Thunderbird produced an alert:

> The current command did not succeed.  The mail server responded:Can't save a > zero byte message.
> .

Expected Results:  
Thunderbird should not be producing such an alert unless I actually had a zero byte message open that I was attempting to save.

Comment 1

8 years ago
An imap protocol log would be interesting -

Opening a drafts folder shouldn't cause us to save a message - I'm not even sure what "save a > zero byte message" means in the imap protocol context.

Comment 2

8 years ago
Oh, apparently my copy/paste and attempt to quote the alert message got eaten.  The alert was:

The current command did not succeed.  The mail server responded:Can't save a zero byte message.


Comment 3

8 years ago
Created attachment 399814 [details]
IMAP log

IMAP log as requested.  I scrubbed out my tags, but left the rest of the log intact.  It should cover the IMAP actions for all default folders, and some "idle" activity.


8 years ago
Attachment #399814 - Attachment mime type: application/octet-stream → text/plain

Comment 4

8 years ago
ah, you have an offline playback event in your drafts folder, and it seems to be corrupted - perhaps you could e-mail me privately your Drafts.msf file and I could have a look. After that, you can do a right click, bring up properties on your drafts folder, and click rebuild index. Then you should be able to open the drafts folder w/o getting an error from the server.

Comment 5

8 years ago
The drafts.msf file is in your user profile directory, either under local folders if it's a local drafts folder, or under the imap server directory, if it's an online drafts folder.

Comment 6

8 years ago

I've sent you the file as requested.  I then rebuilt the index and the error no longer occurs at this time.  Let me know if you require any follow-up on my part.

Comment 7

8 years ago
we should have noticed that the offline operation would cause an attempt to append an empty message to the imap server, and removed the offline operation.
Ever confirmed: true
Blocks: 477042


5 years ago
Blocks: 812827
You need to log in before you can comment on or make changes to this bug.