Public bug reported:

I routinely discover that offlineimap decides to delete a large chunk of
my "LISTS" folder (quick large, as you can imagine (>42,000 messages).
It deletes over a thousand messages, and each time this happens it
deletes more and more.

I researched/debugged, and this is the same issues as described here:
https://bugzilla.redhat.com/show_bug.cgi?id=708898
and here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629515

An update to 6.3.4 (what is in Precise) fixes the issue.

[Impact]
Data loss, potentially forever if not monitored. This happens about daily for 
me.

[Development Fix]
upgrade to using libimap2 version 2.24

[Stable Fix]
What is needed:
Relevant upstream commit: 
https://github.com/nicolas33/offlineimap/commit/520e39d35536172d03b22d012cf4d8828687f2ff

[Test Case]
1) Install offlineimap 6.3.3
2) sync a mailbox with a large number of messages (>6,000)
3) continue to run offlineimap for a while (a day-ish?) until the server sends 
a response that imaplib2 version 2.22 doesn't like
4) observe the deletion of messages.
5) upgrade to imaplib2 version 2.24
6) continue syncing
7) observe no loss of data due to server messages

[Regression Potential]
If cherry picking the commit, none predicted.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: offlineimap 6.3.3-3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sun Oct 30 14:08:08 2011
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: offlineimap
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: offlineimap (Ubuntu)
     Importance: Medium
         Status: Fix Released

** Affects: offlineimap (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: amd64 apport-bug oneiric regression-release test-case

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/883993

Title:
  offlineimap 6.3.3 deleting messages erroneously

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/883993/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to