# Generated by Chef

##
## Plugin settings
##

# All wanted plugins must be listed in mail_plugins setting before any of the
# settings take effect. See <doc/wiki/Plugins.txt> for list of plugins and
# their configuration. Note that %variable expansion is done for all values.

<% unknown_plugins = DovecotCookbook::Plugins.list_unknown(@plugins)
   if unknown_plugins.length > 0
     unknown_plugins.each do |plugin|
       if @plugins[plugin].kind_of?(Hash)
   -%>
<%=      DovecotCookbook::Conf.plugin(plugin, @plugins[plugin]) %>
<%     end
     end
   else -%>
plugin {
  #setting_name = value
}
<% end -%>
