Closed Bug 485002 Opened 16 years ago Closed 10 years ago

Archive feature does not work with UWIMAP. Spikes CPU

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mdudziak, Unassigned)

References

Details

The problem is that the Archive feature does not work with UWIMAP servers and ends up spiking the CPU forcing the user to Exit out. The Archive feature is probably trying to create the desired folder structure and since UWIMAP does not support nested folders it does not work. To reproduce: - Set up a test account on a UWIMAP server (like the IMAP server built into OS X) - Highlight a message in the INBOX and click the 'Archive' button - Note the CPU usage increases significantly - Note that the message is NOT moved to the archive - Note that no Archive folder gets created (due to UWIMAP)
d'uh - good point. There's a server property that says whether the server can have folders that have both sub-folders and messages. The archive js front end should be checking that property and just using a single top-level folder if the server doesn't support both.
This may be a different bug, but I just observed the same symptoms on a Zimbra IMAP server, which does support sub-folders and messages: when I selected a message in my Inbox and invoked archival, Thunderbird pegged one CPU, and the message didn't move to the existing Archives/[year] folder. Also, quitting Thunderbird closed the window but did not stop the process, which continued to peg that CPU until I manually killed it. Unfortunately, I can't reproduce the problem, and the failure to move the message to the existing archive folder might have been due to bug 490990 instead, so I'm not sure that I actually experienced this bug.
UW-IMAP does support subfolders: - With the default unix mailbox format you need to create the PARENT folders (directories) by appending a slash to the mailbox name, i.e. create 2008/, 2009/ etc (with ending slash). But folders that contain messages can't have subfolders, so the monthly folders (mailbox files) should be created without the ending slash, i.e. 2008/11, 2009/01 etc (no ending slash). - If UW-IMAP server uses MIX format by default (somewhat similar to maildir format of other servers), folders may contain messages and subfolders (dual-use). You do not need to append the slash to create a folder. This is what we are using and Archiving works fine. See http://www.washington.edu/imap/documentation/mixfmt.txt.html
Severity: normal → major
Myk, do you still see this?
Flags: needinfo?(myk)
No, I don't see this anymore.
Flags: needinfo?(myk)
Thanks. Perhaps fixed by bug 799821
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.