]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
example-config: Moved ACL settings to a separate .conf file.
authorTimo Sirainen <tss@iki.fi>
Wed, 2 Jun 2010 18:20:54 +0000 (19:20 +0100)
committerTimo Sirainen <tss@iki.fi>
Wed, 2 Jun 2010 18:20:54 +0000 (19:20 +0100)
--HG--
branch : HEAD

doc/example-config/conf.d/90-acl.conf [new file with mode: 0644]
doc/example-config/conf.d/90-plugin.conf

diff --git a/doc/example-config/conf.d/90-acl.conf b/doc/example-config/conf.d/90-acl.conf
new file mode 100644 (file)
index 0000000..f0c0e7a
--- /dev/null
@@ -0,0 +1,19 @@
+##
+## Mailbox access control lists.
+##
+
+# vfile backend reads ACLs from "dovecot-acl" file from mail directory.
+# You can also optionally give a global ACL directory path where ACLs are
+# applied to all users' mailboxes. The global ACL directory contains
+# one file for each mailbox, eg. INBOX or sub.mailbox. cache_secs parameter
+# specifies how many seconds to wait between stat()ing dovecot-acl file
+# to see if it changed.
+plugin {
+  #acl = vfile:/etc/dovecot/global-acls:cache_secs=300
+}
+
+# To let users LIST mailboxes shared by other users, Dovecot needs a
+# shared mailbox dictionary. For example:
+plugin {
+  #acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
+}
index a45a1febf2938ea3f1f1f1987113693c00649122..8c8fccf4f25890376cd507117aa358d4d47436cb 100644 (file)
@@ -2,24 +2,10 @@
 ## Plugin settings
 ##
 
-# All wanted plugins must be listed in mail_plugins setting before any of these
-# settings take effect. Only a couple of plugins are listed below, see
-# <doc/wiki/Plugins.txt> for more.
+# All wanted plugins must be listed in mail_plugins setting before any of the
+# settings take effect. See <doc/wiki/Plugins.txt> for list of plugins and
+# their configuration. Note that %variable expansion is done for all values.
 
 plugin {
-  # Here you can give some extra environment variables to mail processes.
-  # This is mostly meant for passing parameters to plugins. %variable
-  # expansion is done for all values.
-
-  # ACL plugin. vfile backend reads ACLs from "dovecot-acl" file from maildir
-  # directory. You can also optionally give a global ACL directory path where
-  # ACLs are applied to all users' mailboxes. The global ACL directory contains
-  # one file for each mailbox, eg. INBOX or sub.mailbox. cache_secs parameter
-  # specifies how many seconds to wait between stat()ing dovecot-acl file
-  # to see if it changed.
-  #acl = vfile:/etc/dovecot-acls:cache_secs=300
-
-  # To let users LIST mailboxes shared by other users, Dovecot needs a
-  # shared mailbox dictionary. For example:
-  #acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
+  #setting_name = value
 }