Sync -> Mails there. Sync -> mails gone
Nicolas Sebrecht
nicolas.s-dev at laposte.net
Wed Jan 28 22:32:24 GMT 2015
On Wed, Jan 28, 2015 at 05:01:57PM +0100, Matthias Beyer wrote:
> My settings look like this:
>
> [Repository LocalFoo]
> type = Maildir
> localfolders = ~/.mail
> sep = .
> nametrans = lambda foldername = "INBOX." re.sub('^localPREFIX\.', '', foldername)
> folderfilter = lambda foldername = foldername.startswith('localPREFIX.')
>
> [Repository RemoteFoo]
> type = IMAP
> remotehost = ...
> ...
> nametrans = lambda foldername = "localPREFIX." re.sub('^INBOX\.', '', foldername)
> createfolders = True
Is there any copy/paste error in the nametrans rules? It should be
something like
nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername)
--
Nicolas Sebrecht
More information about the OfflineIMAP-project
mailing list