changeset 8462:449634ed81b6 HEAD

Added an example shared namespace.
author Timo Sirainen <tss@iki.fi>
date Fri, 21 Nov 2008 17:08:58 +0200
parents 659667d89f69
children 6e5c37d9dcf9
files dovecot-example.conf
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dovecot-example.conf	Fri Nov 21 17:03:27 2008 +0200
+++ b/dovecot-example.conf	Fri Nov 21 17:08:58 2008 +0200
@@ -261,6 +261,7 @@
 
    # Show the mailboxes under this namespace with LIST command. This makes the
    # namespace visible for clients that don't support NAMESPACE extension.
+   # "children" value lists child mailboxes, but hides the namespace prefix.
    #list = yes
 
    # Namespace handles its own subscriptions. If set to "no", the parent
@@ -268,6 +269,26 @@
    #subscriptions = yes
 #}
 
+# Example shared namespace configuration
+#namespace shared {
+   #separator = /
+
+   # Mailboxes are visible under "shared/user@domain/"
+   # %%n, %%d and %%u are expanded to the destination user.
+   #prefix = shared/%%u/
+
+   # Mail location for other users' mailboxes. Note that %variables and ~/
+   # expands to the logged in user's data. %%n, %%d, %%u and %%h expand to the
+   # destination user's data.
+   #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
+
+   # Use the default namespace for saving subscriptions.
+   #subscriptions = no
+
+   # List the shared/ namespace only if there are visible shared mailboxes.
+   #list = children
+#}
+
 # System user and group used to access mails. If you use multiple, userdb
 # can override these by returning uid or gid fields. You can use either numbers
 # or names. <doc/wiki/UserIds>