Add "." to all the subdirs

Pier pierg75 at
Mon Mar 12 11:47:28 GMT 2012


I'm using offlineimap to locally sync a remote imap repository.
I was using this nametrans to add a "." to use Dovecot as local IMAP

nametrans = lambda foldername: re.sub('^.INBOX$' , '.', re.sub('^',
'.' , foldername))

Now with the release 6.5.2 I'm not able to sync it any more.
I get the message:

 ERROR: Aborting sync, folder '.' [acc: 'REMOTEACCOUNT']
  getfolder() asked for a nonexisting folder '.'.

I tried several other settings but none worked.
How can I do it with the new version?



More information about the OfflineIMAP-project mailing list