Complete.Org: Mailing Lists: Archives: offlineimap: October 2005:
Re: from imap to Maildir with leading dot in the directory name
Home

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]
To: Mikael Syska <mikael@xxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: from imap to Maildir with leading dot in the directory name
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Wed, 5 Oct 2005 10:10:34 -0500

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



[Prev in Thread] Current Thread [Next in Thread]