Open Bug 842267 Opened 12 years ago Updated 3 years ago

copy or move messages from IMAP folders to Local Folders on CIFS mount in bad index file, fixed by Repair

Categories

(MailNews Core :: Database, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: manmadhan_2k1, Unassigned)

References

Details

(Keywords: dupeme, Whiteboard: [datalossy])

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130201065344 Steps to reproduce: I have installed latest TB 17.0.2 on SuSE 11.2 machine. While trying to copy or move messages from IMAP folders to Local Folders Actual results: The message got moved, but if i clicked the message content is empty. By repairing the folder using right click it works! It seems indexing needs to be done every move / copy. Expected results: Without repairing it show the message contents.
Severity: normal → critical
Priority: -- → P3
security sensitive bugs are only visible to a limited number of people. opening up for the wider community since this is not a security issue.
Group: core-security
Thanks for opening to wider community.
Anyone can help on this?
Priority: P3 → P1
OS: Windows XP → Linux
Does this happen on every move of a message? After you have repaired the folder, does it have the problem again when moving new messages to it?
Component: Untriaged → Database
Product: Thunderbird → MailNews Core
Whiteboard: [DUPEME]
aceman... Thanks for your response. Yes this is happening on every move of a news message. I may need to repair every new message movement.
Can some one help me on this?
rkent, any idea what he can try to debug this?
Moving from one account to another involves streaming the message to a file from the old account, then streaming that file to the new account. So the most likely cause of an isolated error like this is some sort of permissions issues associated with local files.
I have thunderbird 24.0.1 on linux (debian 64 bits) and have the same problem. Local folder is on a filer mounted via CIFS, inbox is on an exchange 2010 server. When I want to classify messages, I use typical address selection and want to copy all the IMAP selected mails in inbox to a given local folder. It starts, copy some messages, but as sson as I get one with big attachment if stops, copying takes ages, and sometimes it tarnsfers only part of the selection (last time 37 out of 54). When failed, the destination forlder is unreadable. Stopping thunderbird and restart it, reapairing the folder gives me a lot of message with 0 size. Very small messages do work but take 30 times the time on windows. The same thunderbird version running in a Windows VM does not exibit the problem. So it is specific to Linux. It started around 17 on Linux and is still there. There was mention of a fix for windows on 17.0.2 and a long lits of people complaining about this bug (or a similar one). https://getsatisfaction.com/mozilla_messaging/topics/thunderbird_17_0_message_corruption_on_local_folders_upon_applying_filters
Note : I did already lose mail because of this bug: deleted from impa folder and not correctly copied in local folder!
Severity: critical → major
Flags: needinfo?(manmadhan_2k1)
Priority: P1 → --
Summary: Unable to copy or move messages from IMAP folders to Local Folders on Linux Thunderbird 17.0.2 → copy or move messages from IMAP folders to Local Folders on Linux Thunderbird 17.0.2 results in bad index file, fixed by Repair
Whiteboard: [DUPEME] → [datalossy][DUPEME]
Depends on: 936987
Eric, Madhan, Do you still see this problem? Please reply
Flags: needinfo?(eric.valette)
Whiteboard: [datalossy][DUPEME] → [closeme 2017-03-01][datalossy][DUPEME]
Until you decide to commit the fixes for network performance handling and correct network IO error handling, I do not see why the bug should not be still there.
Flags: needinfo?(manmadhan_2k1)
Flags: needinfo?(eric.valette)
Whiteboard: [closeme 2017-03-01][datalossy][DUPEME] → [datalossy][DUPEME]
How do you copy/move the messages? What UI element do you use?
I select a set of mail with attachements via mouse. Only highlithted, I just drag them to my local folder that happens to be on a filer mounted via CIFS/SMB. And because of the bad quality of the error handling for networked write, and write of size 89 bytes, it gets and unhanlded write error that leads to cooupted database on the filer.
Keywords: dupeme
Summary: copy or move messages from IMAP folders to Local Folders on Linux Thunderbird 17.0.2 results in bad index file, fixed by Repair → copy or move messages from IMAP folders to Local Folders on CIFS mount in bad index file, fixed by Repair
Whiteboard: [datalossy][DUPEME] → [datalossy]
You need to log in before you can comment on or make changes to this bug.