Skip to content
Snippets Groups Projects
Commit 01c6a1f0 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Get rid of scope.lookupvar

parent c74a3537
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment