aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-04-03 09:58:08 +0800
committerpeter <peter@FreeBSD.org>2000-04-03 09:58:08 +0800
commita37812c3ebb556e6eb7a62ddf4102e254d917d38 (patch)
tree83b8a3c842307c9d2cffdd8f0425a0924805e0fa /mail/postfix
parent50f3b43df57111979f3cb7bcbba49718c53c3fe1 (diff)
downloadfreebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.tar.gz
freebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.tar.zst
freebsd-ports-gnome-a37812c3ebb556e6eb7a62ddf4102e254d917d38.zip
Ack, what was I thinking? it's not safe to assume the system sendmail
was the last active mailer.
Diffstat (limited to 'mail/postfix')
-rw-r--r--mail/postfix/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index d24415174707..440cf692d1f3 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/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 \