Attached Word Doc in IMAP message corrupted during download

RESOLVED WORKSFORME

Status

Thunderbird
Mail Window Front End
--
critical
RESOLVED WORKSFORME
12 years ago
5 years ago

People

(Reporter: bpanulla, Unassigned)

Tracking

({dataloss, testcase})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(6 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: version 1.5.0.5 (20060719) on Mac OS X 10.4.7 on Intel (MacBook Pro)

Starting around 7/31 I began to have problems viewing some attached MS Word Doc files from Thunderbird. Either double-clicking the attachment in the message window, or choosing Save As and then double-clicking file from desktop results in a file Word is unable to read (I'm prompted by Word to choose the file format from a list of random things like RTF and old MS Word versions).

If I connect to the same IMAP account with Mail.app, and read the same message, I am able to open the Word document without an issue.

This does not happen with all Word doc attachments -- some open fine. But the ones that do not open *always* fail to open on repeated attempts, but continue to open fine from Mail.app.

I have reinstalled Microsoft Office to no avail.

IMAP account is on a Microsoft Exchange 2003 server.

Reproducible: Always

Steps to Reproduce:
1. Open IMAP message with attached Word document
2. Double-click attachment to open, or Save As... to desktop and open from there
Actual Results:  
MS Word 2004 launches, but prompts with Convert File: dialog box:

Text only
MS-DOS text
Rich-Text Format
etc...



Expected Results:  
File should open properly in Word
(Reporter)

Comment 1

12 years ago
Created attachment 232436 [details]
This is a sample attachment that was downloaded from my IMAP account using Mail.app

This should be the proper version of the file.
(Reporter)

Comment 2

12 years ago
Created attachment 232437 [details]
This is a sample attachment, the same file as previous only this one was downloaded by Thunderbird and is unreadable.

Comment 3

10 years ago
Microsoft Exchange not always play nicely with IMAP and third-party clients there are few bugs involving corruption of attachments.
Also please try current 2.0.0.12
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE

Comment 4

6 years ago
Created attachment 603039 [details]
Original file download GMail web interface

Send with Apple Mail

Comment 5

6 years ago
Created attachment 603040 [details]
Corrupt file downloaded IMAP from GMail

Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19

Comment 6

6 years ago
I suspect what's more interesting to see is the overall message containing the attachment, not just the attachment, to see if this is an apple double encoding issue. Can you save the original message with the attachment as a .eml file and attach that here?

Updated

6 years ago
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: INCOMPLETE → ---

Comment 7

6 years ago
Created attachment 603444 [details]
The complete mail with the doc file

Comment 8

6 years ago
Created attachment 603461 [details]
Thunderbird is freez when try to open the mail

I ask my friend to send it again, and than this happened ... :)
The attachment is the Thunderbird process and memory information.

( and i have two PDF documents with corruption, if i download them with a browser it is OK, this events is started a weeks ago )

Updated

6 years ago
Attachment #603444 - Attachment mime type: application/octet-stream → text/plain

Comment 9

6 years ago
It looks like your offline store or disk cache is corrupted - the end of the message is missing. If you repair the index (which will delete the offline store and cause us to refetch everything, including message bodies), does that fix the issue? Folder properties, repair folder button. If you don't want to cause a redownload of everything in that folder, you can copy the message in question to an other folder with fewer messages and then just repair the index of the smaller folder.

Comment 10

6 years ago
I send myself a doc and a pdf, ... the same corruption. Problem is local 
Yes the folder repair was SOLVED the corruption, but i need to do it every time when i get an attachment. My suspect is an MTA, and found a message RFC 5746 ( CVE-2009-3555 ) in error console.

Maybe it is too old: 
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19

I will test this version next time 'thunderbird-10.0.2.tar.bz2', thank you i still love it:

Comment 11

5 years ago
dossy, joe, can you test this?
Assignee: mscott → nobody
Severity: normal → critical
Flags: needinfo?(dossy)
Keywords: dataloss, testcase

Comment 12

5 years ago
Tested using Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Thunderbird/22.0a1
with original test attachment provided. Seemed to work fine for me, however I've seen some recent reports of truncated image files received using IMAP Sooo ?

Comment 13

5 years ago
Looking at attachment #603444 [details], it's missing the final terminating boundary line, that should have been "--001636c5bd41fd3ee604ba602a38--" -- not sure if this is a copy/paste error, or an IMAP issue, or what.

How can I reproduce this bug?  Take one of the Word docs attached here and email it to myself, then try to fetch it via IMAP using TB?
Flags: needinfo?(dossy)

Comment 14

5 years ago
I just took AA_interviews_mail.doc and emailed it to myself using Apple Mail.app, and fetched it using Thunderbird 17.0.3 on OSX 10.7.5 from a Dovecot IMAP server, saved the attachment and the SHA1 checksums match - the Word doc survived the round-trip 100%.

Comment 15

5 years ago
WFM based on recent comments.

(In reply to Joe Sabash from comment #12)
> Tested using Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101
> Thunderbird/22.0a1
> with original test attachment provided. Seemed to work fine for me, however
> I've seen some recent reports of truncated image files received using IMAP
> Sooo ?

testcase wanted then.
Status: REOPENED → RESOLVED
Last Resolved: 10 years ago5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.