Evo and namespace management

Dominic LoBue dominic.lobue at gmail.com
Tue Nov 9 19:02:18 GMT 2010

On Sat, Nov 6, 2010 at 7:10 AM, Philippe LeCavalier
<support at plecavalier.com> wrote:
> On Fri, 2010-11-05 at 21:07 -0700, Dominic LoBue wrote:
> On Fri, Nov 5, 2010 at 7:42 AM, Philippe LeCavalier
> <support at plecavalier.com> wrote:
>> Hi All,
>> First post to this list...I was turned on to this project from a contact
>> on
>> the Evo mailing list when looking for more robust / scalable filtering and
>> syncing options in Evo. I must say combining Offlineimap and IMAPfilter is
>> *exactly* what I was looking for.
>> that said, I do have a minor issue with namespace. When I create the
>> maildir
>> account in Evo it automatically creates an "Inbox" along with a few other
>> folders. I've looked into nametrans and have managed to get what I want ie
>> nametrans = lambda foldername: re.sub('^INBOX\.', '', foldername) but
>> despite that I still end up with two inboxes (INBOX and Inbox). I don't
>> know
>> if I'm making any sense here perhaps I could provide a screenshot if
>> nobody
>> knows what I referring to. I should also mention that I agree this may be
>> more of an Evo thing than an Offlineimap thing.
>> Thanks in advance,
>> Phil
>> _______________________________________________
>> OfflineIMAP-project mailing list
>> OfflineIMAP-project at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
>> OfflineIMAP homepage: http://software.complete.org/offlineimap
> Here's the real question: do you really have multiple folders named
> inbox with different capitalization on the IMAP server? Because if
> there is, you do not want to change one name to another without
> resolving the conflict first!
> Well, if I login to webmail I only see one mailbox. Also:
> 1 OK LOGIN Ok.
> 2 LIST
> 2 NO Error in IMAP command received by server.
> 2 LIST """%"
> * LIST (\Marked \HasChildren) "." "INBOX"
> 2 OK LIST completed
> If there isn't, and there is nothing in the "Inbox" folder, then the
> below configuration line will do what you want:
> nametrans = lambda foldername: foldername == 'INBOX' and foldername.title()
> I did something yesterday that seems to have fixed the issue for the moment
> but your suggestion maybe be more 'proper'. I figured that since Courier
> IMAP defaults to INBOX as the root and all other folders are subs I could
> point Evo to INBOX as the root rather than just ~/Mail as I had done.
> This fixed the display issue. Now I only have the one showing as "Inbox". If
> INBOX is truly the root then I'm not mising anything by starting the folder
> tree there right?
> Phil

I'm not familiar with Evo, but the IMAP spec does not require that the
INBOX folder be your mail root.

However, so long as you are the only one using the mail account, and
only place any sub-folders you create under the INBOX folder, then you
should be fine.

Do note that offlineimap will not create new folders on your IMAP
server for you however.

Dominic LoBue

More information about the OfflineIMAP-project mailing list