Quoting Rick Romero <r...@havokmon.com>:

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.

Then this is a bug (or a misconfiguration) in Dovecot. Dovecot is reporting INBOX has children - IMP is doing the proper thing by looking for the children.

michael

___________________________________
Michael Slusarz [slus...@horde.org]

--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to