dovecot-2.0: example-config: Moved ACL settings to a separate .c...

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 2 21:21:01 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/1f8251fc8db5
changeset: 11464:1f8251fc8db5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 02 19:20:54 2010 +0100
description:
example-config: Moved ACL settings to a separate .conf file.

diffstat:

 doc/example-config/conf.d/90-acl.conf    |  19 +++++++++++++++++++
 doc/example-config/conf.d/90-plugin.conf |  22 ++++------------------
 2 files changed, 23 insertions(+), 18 deletions(-)

diffs (55 lines):

diff -r 913e8d4d07b9 -r 1f8251fc8db5 doc/example-config/conf.d/90-acl.conf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/doc/example-config/conf.d/90-acl.conf	Wed Jun 02 19:20:54 2010 +0100
@@ -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
+}
diff -r 913e8d4d07b9 -r 1f8251fc8db5 doc/example-config/conf.d/90-plugin.conf
--- a/doc/example-config/conf.d/90-plugin.conf	Wed Jun 02 19:17:08 2010 +0100
+++ b/doc/example-config/conf.d/90-plugin.conf	Wed Jun 02 19:20:54 2010 +0100
@@ -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
 }


More information about the dovecot-cvs mailing list