Bugreport: maxage deleting old email from destination

Ivan Semin ivun at wirebyte.com
Tue Aug 2 04:45:37 UTC 2011


> Let me now do a bit of guessing. You set maxage for your remote(gmail)
> account, right? And there is no limit for your local one.
According to the original offlineimap.conf maxage is set per account,
not per repository. That's what I do - set it in [Account], so it
should affect both local and remote.

> This bit confuses me. If OfflineIMAP deleted 26 messages, should not you
> have 107 of them locally?
Exactly! That confuses me too.


> But I don't understand the rest. It seems that we are adding some emails
> to remote (Gmail). But just a moment ago we saw we have 133 of them
> (I marked that by !!!)
I didn't notice that during the test, but yes, that's even worse.

It copies 8 messages to gmail, then deletes 8 messages from local.
Then copies 18 from local to gmail. 18+8=26, so it seems to copy those
ghost messages it just copied from gmail to local.

>> Copy message -11 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -26 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -25 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -24 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -23 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -22 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -21 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -20 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>>
>> at this point it hung somehow (gmail is unstable today, this may be
>> the reason), so I killed it and started again:
>>
>> Syncing 1A_invoices: Gmail -> MappedIMAP
>> Deleting 8 messages (141, 150, 151, 152, 153, 154, 155, 156) in
>> MappedIMAP[1A_invoices]
>> Copy message -11 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -18 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -17 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -16 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -15 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -14 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -13 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -12 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -2 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -10 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -9 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -8 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -7 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -6 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -5 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -4 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -3 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]
>> Copy message -1 MappedIMAP[1A_invoices] -> Gmail[1A_invoices]



More information about the OfflineIMAP-project mailing list