90-acl.conf.erb 822 B

1234567891011121314151617181920212223
  1. ##
  2. ## Mailbox access control lists.
  3. ##
  4. # vfile backend reads ACLs from "dovecot-acl" file from mail directory.
  5. # You can also optionally give a global ACL directory path where ACLs are
  6. # applied to all users' mailboxes. The global ACL directory contains
  7. # one file for each mailbox, eg. INBOX or sub.mailbox. cache_secs parameter
  8. # specifies how many seconds to wait between stat()ing dovecot-acl file
  9. # to see if it changed.
  10. <% if @plugins.has_key?('acl') and @plugins['acl'].kind_of?(Hash) -%>
  11. <%= Dovecot::Conf.plugin('acl', @plugins['acl']) %>
  12. <% else -%>
  13. plugin {
  14. #acl = vfile:/etc/dovecot/global-acls:cache_secs=300
  15. }
  16. # To let users LIST mailboxes shared by other users, Dovecot needs a
  17. # shared mailbox dictionary. For example:
  18. plugin {
  19. #acl_shared_dict = file:/var/lib/dovecot/shared-mailboxes
  20. }
  21. <% end -%>