Re: from imap to Maildir with leading dot in the directory name
[Top] [All Lists]
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
 
On Wed, Oct 05, 2005 at 02:45:09PM +0200, Mikael Syska wrote:
> How get I get the above file structure that courier-imap makes, but 
> offlineimap dont? I'm lost here, have search the mailarchive, but the 
> other person with a problem like this, was satisfied with the / 
> seperator, and that aint good enough for me....
This is documented in the example config file:
# Using Courier remotely and want to duplicate its mailbox naming
# locally?  Try this:
#
# nametrans = lambda foldername: re.sub('^INBOX\.*', '.', foldername)
That should do it for you, assuming your mailboxes are stored under
INBOX remotely.  This is true for Courier, may vary for others.
-- John
 
 
 | 
 |