Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Puppet Camptocamp Postfix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
Puppet Camptocamp Postfix
Commits
a4dc1017
Commit
a4dc1017
authored
Sep 24, 2010
by
Marc Fournier
Browse files
Options
Downloads
Patches
Plain Diff
postfix: fixed erb template to avoid breakage when postfix_use_* variables aren't defined.
parent
faae1c71
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/master.cf.debian.erb
+13
-10
13 additions, 10 deletions
templates/master.cf.debian.erb
with
13 additions
and
10 deletions
templates/master.cf.debian.erb
+
13
−
10
View file @
a4dc1017
...
...
@@ -7,8 +7,11 @@
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
<%
if
postfix_smtp_listen
==
'all'
%>
smtp inet n - - - - smtpd
<%
else
%><%=
postfix_smtp_listen
%>
:smtp inet n - - - - smtpd
<%
end
%>
<%
if
postfix_smtp_listen
==
'all'
-%>
smtp inet n - - - - smtpd
<%
else
-%>
<%=
postfix_smtp_listen
%>
:smtp inet n - - - - smtpd
<%
end
-%>
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
...
...
@@ -75,7 +78,7 @@ scalemail-backend unix - n n - 2 pipe
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
<%
if
postfix_use_amavisd
==
'yes'
%>
<%
if
has_variable?
(
"postfix_use_amavisd"
)
and
postfix_use_amavisd
==
'yes'
%>
amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
...
...
@@ -93,18 +96,18 @@ amavis unix - - - - 2 smtp
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
<%
end
%>
<%
if
postfix_use_dovecot_lda
==
'yes'
%>
<%
end
-
%>
<%
if
has_variable?
(
"postfix_use_dovecot_lda"
)
and
postfix_use_dovecot_lda
==
'yes'
%>
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}
<%
end
%>
<%
if
postfix_use_schleuder
==
'yes'
%>
<%
end
-
%>
<%
if
has_variable?
(
"postfix_use_schleuder"
)
and
postfix_use_schleuder
==
'yes'
%>
schleuder unix - n n - - pipe
flags=DRhu user=schleuder argv=/usr/bin/schleuder ${user}
<%
end
%>
<%
if
postfix_use_sympa
==
'yes'
%>
<%
end
-
%>
<%
if
has_variable?
(
"postfix_use_sympa"
)
and
postfix_use_sympa
==
'yes'
%>
sympa unix - n n - - pipe
flags=R user=sympa argv=/usr/lib/sympa/bin/queue ${recipient}
sympabounce unix - n n - - pipe
flags=R user=sympa argv=/usr/lib/sympa/bin/bouncequeue ${user}
<%
end
%>
<%
end
-
%>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment