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 @@ ...@@ -7,10 +7,10 @@
# service type private unpriv chroot wakeup maxproc command + args # service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100) # (yes) (yes) (yes) (never) (100)
# ========================================================================== # ==========================================================================
<% if scope.lookupvar('postfix::smtp_listen') == 'all' -%> <% if @smtp_listen == 'all' -%>
smtp inet n - n - - smtpd smtp inet n - n - - smtpd
<% else -%> <% else -%>
<%= scope.lookupvar('postfix::smtp_listen') %>:smtp inet n - n - - smtpd <%= @smtp_listen %>:smtp inet n - n - - smtpd
<% end -%> <% end -%>
#smtp inet n - n - - smtpd #smtp inet n - n - - smtpd
#submission inet n - n - - smtpd #submission inet n - n - - smtpd
......
Supports Markdown
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