smtpd: Fix mailer.conf for OpenBSD 5.9.
This commit is contained in:
parent
35027cedb0
commit
0e59055357
2 changed files with 11 additions and 6 deletions
|
@ -111,7 +111,7 @@ class smtpd(
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => 'wheel',
|
group => 'wheel',
|
||||||
source => 'puppet:///modules/smtpd/mailer.conf',
|
content => template('smtpd/mailer.conf.erb'),
|
||||||
before => Service[$service],
|
before => Service[$service],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
sendmail /usr/sbin/smtpctl
|
sendmail /usr/sbin/smtpctl
|
||||||
send-mail /usr/sbin/smtpctl
|
send-mail /usr/sbin/smtpctl
|
||||||
mailq /usr/sbin/smtpctl
|
mailq /usr/sbin/smtpctl
|
||||||
|
<% if scope.function_versioncmp([@operatingsystemrelease, "5.8"]) > 0 -%>
|
||||||
|
makemap /usr/sbin/smtpctl
|
||||||
|
newaliases /usr/sbin/smtpctl
|
||||||
|
<% else -%>
|
||||||
makemap /usr/libexec/smtpd/makemap
|
makemap /usr/libexec/smtpd/makemap
|
||||||
newaliases /usr/libexec/smtpd/makemap
|
newaliases /usr/libexec/smtpd/makemap
|
||||||
|
<% end -%>
|
Loading…
Add table
Add a link
Reference in a new issue