severity 629515 important
thanks

On Tue, Jun 07, 2011 at 11:25:52AM +0100, Lars Wirzenius wrote:
> I'm a fresh user of offlineimap.

I'm a long time user of offlineimap. I can confirm this bug, which has
it me several times now. As far as I can tell is a pretty recent; I
cannot pinpoint a specific version, but it is surely >= 6.3. (Assuming
that the bug is actually caused by offineimap and not but some unrelated
origin which appeared on my system at the same time.)

> at most), except for to: Archive and Sent, each of which has more than
> 20 thousands mail.

Same here, I've seen it only on my ARCHIVE (~ 6'000) and DPL ( ~ 8'000)
maildirs. I'm using ext4 as well and it is so from not a long time,
although my gut feelings are that I've been using ext4 for a while
without experiencing the bug.

> It seems that something deletes the mails locally, since the files
> are gone from the Maildir when I look at the problem. The problem
> has occurred between two consecutive runs of offlineimap, without
> me touching the Maildirs at all (a few minutes between the runs).

Exactly the same sensation I've got. However, what I see is that the two
consecutive runs actually do two opposite sides of the bug. In the first
one, the sync of a specific IMAP maildir concludes with a massive
*local* delete of mails (note: IME not *all* of them are deleted, but
"only" about 2'000). The first run concludes and at that point the IMAP
side of the mailbox is left unaffected. During the second run, for
instance after the typical timeout, offlineimap notices that lots of
mails are missing locally but still assumes that the reference state is
IMAP's, and hence re-synchronize all the ~ 2'000 mails from IMAP to the
local maildir.

> As far as I know, the only thing touching them is offlineimap.

I've some more stuff in my pipeline, such as notmuch, but I tend to
exclude that it is the responsible, otherwise the second offlineimap run
would try to propagate the deletion on the IMAP side (which would be a
completely disaster, luckily it is not the case).

> I am using stable

I'm tracking sid.

I'm setting severity as important as I found this behavior to be really
disruptive, especially when the network connection is slow (which is one
of the use cases where offlineimap shines, as it gives you the ability
to work on your mails locally rather than through the net).

Cheers.
-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Quando anche i santi ti voltano le spalle, |  .  |. I've fans everywhere
ti resta John Fante -- V. Capossela .......| ..: |.......... -- C. Adams

Attachment: signature.asc
Description: Digital signature

Reply via email to