Complete.Org: Mailing Lists: Archives: offlineimap: August 2006:
Re: nametrans IMAP INBOX to maildir base directory?
Home

Re: nametrans IMAP INBOX to maildir base directory?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Aaron Schrab <aaron@xxxxxxxxxx>, offlineimap@xxxxxxxxxxxx
Subject: Re: nametrans IMAP INBOX to maildir base directory?
From: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Date: Mon, 21 Aug 2006 15:20:34 -0500

On Sat, Aug 19, 2006 at 07:51:42PM -0500, Aaron Schrab wrote:
> I've tried having the nametrans function return an empty string or a
> lone dot, but both of those caused an exception.  Is there a way to do
> this?
> 
> For now I'm working around it by using symlinks in place of the above
> mentioned cur,new,tmp directories, but it would be nice if it could be
> done more cleanly.

This sounds similar to the Courier example:

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

Perhaps there is some other difficulty with your config?



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