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
1b4bd5d3
Commit
1b4bd5d3
authored
Feb 18, 2011
by
Cédric Jeanneret
Committed by
Issey Llambias
Oct 20, 2011
Browse files
postfix - allow us to set mail user for services
parent
a20d988c
Changes
3
Show whitespace changes
Inline
Side-by-side
manifests/classes/postfix.pp
View file @
1b4bd5d3
...
...
@@ -52,6 +52,9 @@ class postfix {
case
$postfix_use_sympa
{
""
:
{
$postfix_use_sympa
=
"no"
}
}
case
$postfix_mail_user
{
""
:
{
$postfix_mail_user
=
"vmail"
}
}
package
{
"postfix"
:
...
...
templates/master.cf.common.erb
View file @
1b4bd5d3
...
...
@@ -19,7 +19,7 @@ amavis unix - - - - 2 smtp
<%
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}
flags=DRhu user=
<%=
postfix_mail_user
%>
:
<%=
postfix_mail_user
%>
argv=/usr/lib/dovecot/deliver -d ${recipient}
<%
end
-%>
<%
if
has_variable?
(
"postfix_use_schleuder"
)
and
postfix_use_schleuder
==
'yes'
%>
schleuder unix - n n - - pipe
...
...
templates/master.cf.debian.erb
View file @
1b4bd5d3
...
...
@@ -68,7 +68,7 @@ scache unix - - - - 1 scache
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=
vmail
argv=/usr/bin/maildrop -d ${recipient}
flags=DRhu user=
<%=
postfix_mail_user
%>
argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
...
...
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