Thunderbird: moving email from local Junk folder to IMAP folder yields "Message contains invalid header"

Posted by Peltier on Super User See other posts from Super User or by Peltier
Published on 2009-09-16T09:21:48Z Indexed on 2012/11/25 23:11 UTC
Read the original article Hit count: 313

Filed under:
|
|

Whenever I try to move an email from a local Junk folder to an IMAP folder in Thunderbird, I get the following error message:

The current command did not succeed. The mail server responded: Message contains invalid header

If Thunderbird's Junk folder is an IMAP folder on the server, then after Thunderbird has moved messages to that folder, I can successfully move messages from Junk back into to some other IMAP folder. However, if the Junk folder is not on the server, then moving a message from the local Junk folder to an IMAP folder yields the aforementioned error.

The only interesting thing I've found about this error is "Message contains invalid header" from the MozillaZine Knowledge Base. That article officially is about importing folders from another email client, and does not mention the Junk filter as another possible cause. However the proposed solution is not very helpful since it requires manual editing of the message box files.

Any better ideas?

EDIT: make sure you read the comments before answering the question.

© Super User or respective owner

Related posts about email

Related posts about thunderbird