From: Timo Sirainen Date: Wed, 2 Jun 2010 18:20:54 +0000 (+0100) Subject: example-config: Moved ACL settings to a separate .conf file. X-Git-Tag: 2.0.beta6~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ed012bbc8d1ba115962b651579dc6ea6816c7969;p=thirdparty%2Fdovecot%2Fcore.git example-config: Moved ACL settings to a separate .conf file. --HG-- branch : HEAD --- diff --git a/doc/example-config/conf.d/90-acl.conf b/doc/example-config/conf.d/90-acl.conf new file mode 100644 index 0000000000..f0c0e7a5ef --- /dev/null +++ b/doc/example-config/conf.d/90-acl.conf @@ -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 --git a/doc/example-config/conf.d/90-plugin.conf b/doc/example-config/conf.d/90-plugin.conf index a45a1febf2..8c8fccf4f2 100644 --- a/doc/example-config/conf.d/90-plugin.conf +++ b/doc/example-config/conf.d/90-plugin.conf @@ -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 -# for more. +# All wanted plugins must be listed in mail_plugins setting before any of the +# settings take effect. See 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 }