90-plugin.conf.erb 575 B

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