dovecot-db.conf.ext.erb 587 B

12345678910111213141516171819
  1. # Generated by Chef
  2. # Example DB_CONFIG for Berkeley DB. Typically dict_db_config setting is used
  3. # to point to this file.
  4. # http://www.oracle.com/technology/documentation/berkeley-db/db/ref/env/db_config.html
  5. <% if @conf['db'].kind_of?(Hash) -%>
  6. <% @conf['db'].sort.each do |k, v| -%>
  7. <%= k %> <%= Dovecot::Conf.value(v) %>
  8. <% end -%>
  9. <% else -%>
  10. # Maximum number of simultaneous transactions.
  11. set_tx_max 1000
  12. # http://www.oracle.com/technology/documentation/berkeley-db/db/ref/lock/max.html
  13. #set_lk_max_locks 1000
  14. #set_lk_max_lockers 1000
  15. #set_lk_max_objects 1000
  16. <% end -%>