Cyril Brulebois <k...@debian.org> (2017-04-04): > Except… deleting a few mails from 2015 on the server with a little > python script using imaplib, and running offlineimap again leads to… > the same mails getting deleted from my laptop! Given the maxage > param was set to 90, I *think* 31-Dec-2015 happened before 90 days > ago, so clearly not a timezone thing. > > > Expected results: mails aren't on the server anymore (I deleted > them explicitly) BUT they're still on my laptop.
Looking at the code, it seems “is that older than maxage?” is implemented by looking at the timestamp in the filename for local mails, which happens to be October 2016 for a mail received in 2015! I'm not sure what offlineimap did with the timestamps, but that's the bit of software responsible for all mails fetched over IMAP, so either timestamp handling is buggy or maxage implementation is buggy. Either way, it might make sense to be extra cautious when there are such bold claims in the documentation, we're talking about deletions here! KiBi.
signature.asc
Description: Digital signature