10-tcpwrapper.conf.erb 521 B

1234567891011121314151617181920
  1. # Generated by Chef
  2. # 10-tcpwrapper.conf
  3. #
  4. # service name for hosts.{allow|deny} are those defined as
  5. # inet_listener in master.conf
  6. #
  7. <%= Dovecot::Conf.attribute(@conf, 'login_access_sockets', 'tcpwrap') %>
  8. #
  9. <% if @services['tcpwrap'].kind_of?(Hash) and @services['tcpwrap'].length > 0 -%>
  10. <%= Dovecot::Conf.service('tcpwrap', @services['tcpwrap']) %>
  11. <% else -%>
  12. #service tcpwrap {
  13. # unix_listener login/tcpwrap {
  14. # group = $default_login_user
  15. # mode = 0600
  16. # user = $default_login_user
  17. # }
  18. #}
  19. <% end -%>