Commit 01c6a1f0 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Get rid of scope.lookupvar

parent c74a3537
......@@ -7,10 +7,10 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
<% if scope.lookupvar('postfix::smtp_listen') == 'all' -%>
<% if @smtp_listen == 'all' -%>
smtp inet n - n - - smtpd
<% else -%>
<%= scope.lookupvar('postfix::smtp_listen') %>:smtp inet n - n - - smtpd
<%= @smtp_listen %>:smtp inet n - n - - smtpd
<% end -%>
#smtp inet n - n - - smtpd
#submission inet n - n - - smtpd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment