summaryrefslogtreecommitdiffstats
path: root/mail/postfix24
diff options
context:
space:
mode:
Diffstat (limited to 'mail/postfix24')
-rw-r--r--mail/postfix24/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/postfix24/Makefile b/mail/postfix24/Makefile
index d244151..440cf69 100644
--- a/mail/postfix24/Makefile
+++ b/mail/postfix24/Makefile
@@ -116,8 +116,10 @@ replace:
.if ${OSVERSION} >= 400014
@${ECHO_MSG} "===> Activating postfix in /etc/mail/mailer.conf"
${MV} -f /etc/mail/mailer.conf /etc/mail/mailer.conf.bak
- ${SED} -e 's|/usr/libexec/sendmail|${PREFIX}/sbin|' \
- < /etc/mail/mailer.conf.bak > /etc/mail/mailer.conf
+ ${ECHO} 'sendmail ${PREFIX}/sbin/sendmail' > /etc/mail/mailer.conf
+ ${ECHO} 'send-mail ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
+ ${ECHO} 'mailq ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
+ ${ECHO} 'newaliases ${PREFIX}/sbin/sendmail' >>/etc/mail/mailer.conf
.else
@${ECHO_MSG} "===> Replacing sendmail"
@if [ -e /usr/sbin/sendmail ]; then \
OpenPOWER on IntegriCloud