90-plugin.conf.erb 596 B

1234567891011121314151617181920212223
  1. # Generated by Chef
  2. ##
  3. ## Plugin settings
  4. ##
  5. # All wanted plugins must be listed in mail_plugins setting before any of the
  6. # settings take effect. See <doc/wiki/Plugins.txt> for list of plugins and
  7. # their configuration. Note that %variable expansion is done for all values.
  8. <% unknown_plugins = Dovecot::Plugins.list_unknown(@plugins)
  9. if unknown_plugins.length > 0
  10. unknown_plugins.each do |plugin|
  11. if @plugins[plugin].kind_of?(Hash)
  12. -%>
  13. <%= Dovecot::Conf.plugin(plugin, @plugins[plugin]) %>
  14. <% end
  15. end
  16. else -%>
  17. plugin {
  18. #setting_name = value
  19. }
  20. <% end -%>