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',
|
||||
owner => 'root',
|
||||
group => 'wheel',
|
||||
source => 'puppet:///modules/smtpd/mailer.conf',
|
||||
content => template('smtpd/mailer.conf.erb'),
|
||||
before => Service[$service],
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
sendmail /usr/sbin/smtpctl
|
||||
send-mail /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
|
||||
newaliases /usr/libexec/smtpd/makemap
|
||||
<% end -%>
|
Loading…
Add table
Add a link
Reference in a new issue