Closed Bug 295493 Opened 20 years ago Closed 18 years ago

IMAP to IMAP copy fails on messages using labels

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jason, Assigned: mscott)

Details

While migrating IMAP servers, I wanted to keep some of my old messages. The copies kept failing with the following error: The current command did not succeed. The mail server responded: APPEND With further investigation, I determined that it was failing on messages that had a Thunderbird label set. To reproduce: 1. set up email accounts on multiple IMAP servers 2. Label a message using Message >> Label 3. Select several messages to copy, including the one with the label 4. Drag the messages from one IMAP folder to the other IMAP folder
can you attach an imap protocol log by following these instructions for imap? http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap
In the Mozilla Thunderbird directory, I created a tbird-debug.bat file: set NSPR_LOG_MODULES=protocol:5 set NSPR_LOG_FILE=c:\thunderbird.log start thunderbird The thunderbird.log file was created but remained empty - even after the error occured.
try : set NSPR_LOG_MODULES=IMAP:5
Thanks for the tip. Sorry I didn't read the fine print. Here's some additional information on this bug. First - it seems to only encounter the problem with messages marked as read. Unread messages with a label are fine. Here's the surrounding lines from the APPEND that failed (with my company's information removed): 500[1f05d88]: 2122a88:imap.xyz.com:S-xyz/bugzilla:ProcessCurrentURL: entering 500[1f05d88]: 2122a88:imap.xyz.com:S-xyz/bugzilla:ProcessCurrentURL:imap://jlowry@imap.xyz.com:143/appendmsgfromfile%3E/xyz/bugzilla: = currentUrl 500[1f05d88]: 2122a88:imap.xyz.com:S-xyz/bugzilla:SendData: 7 append "xyz/bugzilla" (\Seen $Label4) {1558} 500[1f05d88]: ReadNextLine [stream=1f2e370 nb=14 needmore=0] 500[1f05d88]: 2122a88:imap.xyz.com:S-xyz/bugzilla:CreateNewLineFromSocket: 7 BAD APPEND 500[1f05d88]: 2122a88:imap.xyz.com:S-xyz/bugzilla:SendData: Return-Path: <bugzilla-daemon@xyz.com>
can I see the part of the log at the beginning where we select the inbox, and the a snippet that shows us selecting the bugzilla folder? That will tell me if the server is advertising that it supports user defined keywords or not. I believe it's complaining about us trying to set the $label keyword on the append.
this seems similar to bug 309144. Should they be merged/duped?
WFM on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061206 Thunderbird/2.0b1 ID:2006120603
->WFM on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2pre) Gecko/20070212 Thunderbird/2.0pre ID:2007021203. If you still have problems with a recent 2.0 build (now the labels are tags), reopen but attach an imap log. http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.