# Generated by Chef

# 10-tcpwrapper.conf
#
# service name for hosts.{allow|deny} are those defined as
# inet_listener in master.conf
#
<% if @services['tcpwrap'].kind_of?(Hash) and @services['tcpwrap'].length > 0 -%>
login_access_sockets = tcpwrap

<%=  DovecotCookbook::Conf.service('tcpwrap', @services['tcpwrap']) %>
<% else -%>
#login_access_sockets = tcpwrap
#
#service tcpwrap {
#  unix_listener login/tcpwrap {
#    group = $default_login_user
#    mode = 0600
#    user = $default_login_user
#  }
#}
<% end -%>
