Evo and namespace management
Dominic LoBue
dominic.lobue at gmail.com
Sat Nov 6 04:07:01 GMT 2010
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!
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()
--
Dominic LoBue
More information about the OfflineIMAP-project
mailing list