2.14.1 Namespace
gnu imap4d supports a notion of namespaces defined
in RFC 2342. A namespace is a set of directories upon which the user
has certain permissions. It should be understood that these permissions
apply only if the underlying filesystem allows them.
The three namespaces supported by imap4d are:
- Personal Namespace
- A namespace that is within the personal scope of the authenticated user
on a particular connection. The user has all permissions on this namespace.
- Other Users' Namespace
- A namespace that consists of mailboxes from the “Personal Namespaces”
of other users. The user can read and list mailboxes from this
namespace. However, he is not allowed to use ‘%’ and ‘*’
wildcards with LIST command, that is he can access a
mailbox only if he knows exactly its location.
- Shared Namespace
- A namespace that consists of mailboxes that are intended to be shared
amongst users and do not exist within a user's Personal Namespace.
The user has all permissions on this namespace.
By default, imap4d starts with the following namespaces:
- Personal Namespace
- The home directory of the user, if exists.
- Other Users' Namespace
- Empty
- Shared Namespace
- Empty
Note, that this means that by default, a user won't be able to
see or otherwise access mailboxes residing in the directories other than
his own home.
To change these defaults, use --shared-namespace and
--other-namespace options.