summaryrefslogtreecommitdiff
path: root/mail/postfix-current
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-04-03 01:58:08 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-04-03 01:58:08 +0000
commit234e6e5a906042d4ca7991d4d135cf51ee793155 (patch)
tree799350854b86f843e8e2493a9790cac10fde09de /mail/postfix-current
parentFix 'make replace' to correctly use mailer.conf (diff)
Ack, what was I thinking? it's not safe to assume the system sendmail
was the last active mailer.
Notes
Notes: svn path=/head/; revision=27298
Diffstat (limited to 'mail/postfix-current')
-rw-r--r--mail/postfix-current/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile
index d24415174707..440cf692d1f3 100644
--- a/mail/postfix-current/Makefile
+++ b/mail/postfix-current/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 \