Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
a20d988c
Commit
a20d988c
authored
Jan 14, 2011
by
Cédric Jeanneret
Committed by
Issey Llambias
Oct 20, 2011
Browse files
postfix - allow smtp/smtps/submissions in template
parent
96bde40a
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/master.cf.debian.erb
View file @
a20d988c
...
...
@@ -7,11 +7,19 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
<%
if
postfix_smtp_listen
==
'all'
-%>
<%
if
has_variable?
(
'postfix_master_smtp'
)
-%>
<%=
postfix_master_smtp
%>
<%
elsif
postfix_smtp_listen
==
'all'
-%>
smtp inet n - - - - smtpd
<%
else
-%>
<%=
postfix_smtp_listen
%>
:smtp inet n - - - - smtpd
<%
end
-%>
<%
if
has_variable?
(
'postfix_master_submission'
)
-%>
<%=
postfix_master_submission
%>
<%
end
-%>
<%
if
has_variable?
(
'postfix_master_smtps'
)
-%>
<%=
postfix_master_smtps
%>
<%
end
-%>
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment