updating offlineimape makes it re-download whole folders

M. Fioretti mfioretti at nexaima.net
Mon May 5 18:49:02 BST 2014


I had a computer running Fedora 17, which among other things kept a
complete local copy of certain remote IMAP accounts with offlineimap and
the configuration pasted below.

Yesterday I installed Fedora 20 on that box, which upgraded offlineimap to
version 6.5.5 (don't remember what it was on Fedora 17...).

Now, when I run offlineimap -c offlineimaprc, the tool starts downloading
again whole folders on the server, that were never touched in the last 2
years, and that offlineimap in Fedora 17 had already completely mirrored
locally. Why? It **may** be that the current numeric uid of the "marco"
user re-created when installing on Fedora 20 is not the same of the same
user in Fedora 17, but is there any link? If yes, how to tell offlineimap
to not care about it?


localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = /email/marco

[Repository Remote]
type = IMAP
remotehost = REMOTEHOST
remoteuser = REMOTEUSER
folderfilter = lambda folder: re.search('(^archive)', folder)
createfolders = False
nametrans = lambda folder: re.sub('^archive', '', folder)

More information about the OfflineIMAP-project mailing list