90-acl.conf.erb 843 B

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