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.

I would like IMP users to only see the non 'hidden' namespace, but I'm not sure how to accomplish that without completely turning it off. Any ideas?

Rick




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

Reply via email to