> > > Here are the key settings about the problem from my offlineimap 
> > > configuration: 
> > > folderfilter = lambda foldername: foldername in [ '[Gmail]/Sent Mail' ] 
> > > nametrans = lambda folder: pathsubs( folder_r = folder )
> > 
> > nametrans = pathsubs(folder)
> are you sure this is a possibility??
> I had tried it previously, it was so worse ...
[...] 
> That's really strange, don't you have a working example of nametrans?

With latest offlineimap this works:

    nametrans = lambda folder: re.sub('!', '.', folder[1:])

Instead of doing re.sub I could also call some other random function in
my namespace. So your first configuration should work as well. Maybe you have 
an error in your
pathsubs somewhere? 

Cheers,
Andrej

Attachment: signature.asc
Description: Digital signature

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to