When storing an MBOX file (e-mail with MBOX FROM line) in an IMAP folder, the headers are corrupted (">FROM" is inserted)
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
People
(Reporter: 52qtuqm9, Unassigned)
References
Details
If someone gives you an EML file which has a UNIX mbox from line at the start of it (which, yes, I know, it absolutely shouldn't, that's not how an EML file is supposed to be formatted), and you open the EML file in Thunderbird, it will open and display the message just fine. However, if you then do Message -> Copy to -> [IMAP account] => Inbox, the message on the IMAP server will end up with the mbox line in the middle of its header, quoted with ">" (i.e., it'll start ">From " instead of "From "), right after the X-Mozilla header lines added to the top of the message.
Either Thunderbird should refuse to open the malformatted EML File, or it should refuse to copy the file with a malformatted header to the IMAP server, or it should remove the "From " line either while reading in the EML file or before copying it to the server.
Comment 1•4 months ago
|
||
If the destination is a POP3 folder, the line is removed. This should also happen with an IMAP folder.
Alternatively, TB could also reject the import. But treating them like this is not good.
{Hint: If the file contains several emails, these are treated as part of the body for POP3.}
Description
•