[Dovecot] namespace hierarchy

Tom Fernandes anyaddress at gmx.net
Sun Apr 1 10:28:40 EEST 2012


Hi,

I'm  migrating from Courier to Dovecot and would like to keep the original 
namespace and add two new ones on the new server.

There's only one namespace in Courier which is "INBOX." . The seperator is "."

In the new server I would like to have 3 namespaces (private, public, shared) 
and use "/" as separator. Is it possible to keep "INBOX." for private, so that 
the users mailboxes appear below the Inbox, but have public and shared on the 
same hierarchy-level like the Inbox?

When I set prefix to "INBOX/" for private I get the users mailboxes below the 
Inbox, like I have it Courier now. But then at least the public, probably also 
the shared namespace doesn't work any more. I get "unknown subscription 
namespace" when trying to subscribe to some of the folders.


My current configuration is:
namespace:
  type: private
  separator: /
  inbox: yes
  list: yes
  subscriptions: yes
namespace:
  type: public
  separator: /
  prefix: public/
  location: maildir:/var/vmail/example.com/public
  list: yes
namespace:
  type: shared
  separator: /
  prefix: shared/%%u/
  location: maildir:%%h/Maildir
  list: yes

warm regards,


Tom



More information about the dovecot mailing list