Properly support FreeBSD

We now disable all sendmail services and periodic services on FreeBSD
before attempting to start postfix. Additionally, this updates
mailer.conf mappings to use postfix applications rather than sendmail.
This commit is contained in:
Ryan Hass
2017-11-16 17:17:08 -08:00
parent 52d6b1b0f3
commit 518f982af3
2 changed files with 51 additions and 0 deletions

10
templates/mailer.erb Normal file
View File

@@ -0,0 +1,10 @@
#
# Auto-generated by Chef.
# Local modifications will be overwritten.
#
# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail