[Dovecot] IMP, Dovecot and multiple namespaces
Rick Romero
rick at havokmon.com
Wed Nov 2 16:37:47 EET 2011
Hey guys,
I'm wondering what the best way is to be backwards compatible with
Courier mailbox formats and not duplicate mailbox trees with Dovecot.
Is anyone doing this right now?
My Dovecot 2.0.13 is configured as follows for Namespaces:
namespace {
inbox = yes
location =
prefix =
separator = .
}
namespace {
hidden = yes
inbox = no
list = no
location =
prefix = INBOX.
separator = .
}
So I should have an INBOX, plus additional root folders - rather than
the Courier default of all folders being subfolders of the INBOX.
So when I run LIST in IMAP I get -
08 LIST "" %
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasChildren) "." "Spam"
* LIST (\HasNoChildren) "." "Sent"
* LIST (\HasNoChildren) "." "Trash"
* LIST (\HasNoChildren) "." "Junk"
* LIST (\HasNoChildren) "." "Drafts"
Which looks fine.
The problem is, IMP (old and new) show two sets of mailboxes (one for
each namespace) like so:
INBOX
Spam
Spam.Over10
Sent
INBOX.Spam
INBOX.Spam.Over10
INBOX.Sent
(etc)
I assume IMP is walking the INBOX because it says it has Children, and
displaying those Children - The Horde team is telling me that's the
root of the problem. It makes sense, but I'm not sure what the real
solution is.
Is it possible to disable Children for a mailbox when an alternate
hidden namespace matches the mailbox name? Does that make sense?
Or, is there another option I change change in the dovecot config to
accomplish the same?
Rick
More information about the dovecot
mailing list