imapsync syncing to gmail corrupts thunderbird view of gmail inbox

Bug #356366 reported by Jack Wasey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
imapsync (Ubuntu)
Invalid
Undecided
Unassigned
thunderbird (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: imapsync

I am syncing a lot of folders to a gmail account. I have tried various combinations of settings, but I have always translated the folder name to add a prefix, so my original gmail labels/folders would not be affected.
However, I see that the ends of emails have been merged into the beginning of others, and the subject lines no longer match the content - this has happened in my Gmail inbox which was not written to by imapsync (or shouldn't have been).

This could be a gmail bug, but either way, it is pretty serious data corruption, so at least needs some warning. Some gmail specific flags which work would be useful to know.

apt-cache policy imapsync
imapsync:
  Installed: 1.252-1
  Candidate: 1.252-1
  Version table:
 *** 1.252-1 0
        500 http://gb.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jack Wasey (jackwasey) wrote :

Sorry, that was a hasty submission. The gmail web view is fine, but thunderbird's IMAP view of the target gmail folders is corrupted (and remains so over a reboot). I will try to clear the thunderbird cache, and failing that, I guess it might be a t-bird bug.

Revision history for this message
Jack Wasey (jackwasey) wrote :

deleting all the .msf files in my profile under ImapMail fixed the problem.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Hi Jack

Thanks for taking your time to report this bug. I have changed this bug to be against thunderbird. Please provide all the relevant information you can regarding the thunderbird problem; and feel free to update the description/title of the bug as well.

Changed in imapsync (Ubuntu):
status: New → Invalid
Revision history for this message
John Vivirito (gnomefreak) wrote :

What version of Ubuntu and Thunderbird are you using? Does this only happen on IMAP? Can you please test POP3? Does this happen with any other email addresses other than gmail?

Changed in thunderbird (Ubuntu):
status: New → Incomplete
Revision history for this message
John Vivirito (gnomefreak) wrote :

Also a step by step instructions on how to reproduce it

Jack Wasey (jackwasey)
summary: - syncing to gmail corrupts inbox
+ imapsync syncing to gmail corrupts thunderbird view of gmail inbox
Revision history for this message
Jack Wasey (jackwasey) wrote :

I do have the ?corrupted .msf file, but I don't want to post a load of personal emails to this site. Please let me know if it would help, and I can make other arrangements.

am having trouble replicating (in my jaunty beta system)

i've set up a test folder, filled it with junk, and synced it over and over while doing things - this informal stress test failed. I used the following imapsync command:

imapsync --host1 host1 --user1 myusername \
    --host2 imap.gmail.com --user2 <email address hidden> \
    --ssl1 -ssl2 \
    --regextrans2 's/(.*)/test$1/' \
    --noauthmd5

(with my passwords)

I found that the tail end of some emails was inserted into the beginning of the following ones. In addition, the following content had lots of escped characters, and other nonsense. The title of the email corresponded to different content. Note that the imapsync script never changes any gmail special folders, or the top level inbox.

guess I can't reproduce, but info here in case someone else does.

apt-cache policy thunderbird
thunderbird:
  Installed: 2.0.0.21+nobinonly-0ubuntu1
  Candidate: 2.0.0.21+nobinonly-0ubuntu1
  Version table:
 *** 2.0.0.21+nobinonly-0ubuntu1 0
        500 http://gb.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jack Wasey (jackwasey) wrote :

incidentally, imapsync with those flags fails to copy over some or all unread and forwarded flags, instead it sends the whole email again every time.

Revision history for this message
xteejx (xteejx) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner.
There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test the current Ubuntu version (10.04). If you can test it, and it is still an issue, we would appreciate if you could upload updated logs by running apport-collect <bug #>, and any other logs that are relevant for this particular issue.

Revision history for this message
xteejx (xteejx) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in thunderbird (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Gilles LAMIRAL (gilles-lamiral) wrote :

Hello,

Since gmail support started with imapsync revision 1.261 and the bug reported here concerns imapsync revision 1.252, there is few thing to say except upgrade to solve the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.