Re: Failing to reproduce file hierarchy locally
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> Use mynametrans from my Python extensions:
> See also my offlineimap rc:
> Feel free to publicize these links!
> -- Asheesh.
That is a great help - they work perfectly!
However, this structure now messes up the names of folders in Evolution
(as I should have realized - it generates maildir++). What I would like
to do now is to have the top level directory (~/Maildir) as my inbox and
the rest of the substructure as unhidden folders separated by "/"
So I have tried :
type = Maildir
localfolders = ~/Maildir
sep = /
type = IMAP
remotehost = XXX.bham.ac.uk
remoteuser = ajs
nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername)
as suggested in the manual. However this creates
With 2 copies of the emails: one set in ~/Maildir/cur and an identical
set in ~/Maildir/INBOX/cur
How do I stop the ~/Maildir/INBOX/ being created with INBOX emails just
going into ~/Maildir ?
Thanks again for the help