Complete.Org: Mailing Lists: Archives: offlineimap: March 2005:
Re: courier-imap and INBOX
Home

Re: courier-imap and INBOX

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Jason Luther <jason@xxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: courier-imap and INBOX
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Mon, 28 Mar 2005 13:47:29 -0600

On Wed, Mar 16, 2005 at 02:41:49PM -0800, Jason Luther wrote:
> I'm using offlineimap to copy mail from a Courier-IMAP server to a local
> Maildir. I can't figure out how to have the INBOX folder map to the Maildir
> while all of the other folders map to Maildir/.foldername. 
> 
> What I want is this:

Try this example from the sample offlineimap.conf included with the
distribution:

# Using Courier remotely and want to duplicate its mailbox naming
# locally?  Try this:
#
# nametrans = lambda foldername: re.sub('^INBOX\.*', '.', foldername)

I believe this will do what you're looking for.

-- John



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