aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail/files/mailer.conf10
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index e06e648cc1cb..5a6a23e8eebd 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -240,7 +240,7 @@ pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
@${SED} \
-e "s=\([ ]\)/.*$$=\\1${SENDMAIL}=" \
- ${DESTDIR}/etc/mail/mailer.conf \
+ ${FILESDIR}/mailer.conf \
> ${STAGEDIR}${PREFIX}/etc/mail/mailer.conf.sendmail
# We want mail.local and rmail for our system.
@@ -303,7 +303,7 @@ mailer.conf:
@${MKDIR} ${DESTDIR}${PREFIX}/etc/mail
@${SED} \
-e "s=\([ ]\)/.*$$=\\1${SENDMAIL}=" \
- ${DESTDIR}/etc/mail/mailer.conf \
+ ${FILESDIR}/mailer.conf \
> ${DESTDIR}${PREFIX}/etc/mail/mailer.conf
.endif
diff --git a/mail/sendmail/files/mailer.conf b/mail/sendmail/files/mailer.conf
new file mode 100644
index 000000000000..e95ad3d5039c
--- /dev/null
+++ b/mail/sendmail/files/mailer.conf
@@ -0,0 +1,10 @@
+# $FreeBSD$
+#
+# Execute the "real" 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
+hoststat /usr/local/sbin/sendmail
+purgestat /usr/local/sbin/sendmail