Browse Source

Integration of mailwrapper (from NetBSD)

"The mailwrapper program is designed to replace /usr/sbin/sendmail and to
invoke an appropriate MTA instead of sendmail(8) based on configuration
information placed in /etc/mailer.conf. This permits the administrator to
configure which MTA is to be invoked on the system at run time."
OK deraadt, millert
OPENBSD_2_6
jakob 25 years ago
parent
commit
4d9e10169a
3 changed files with 18 additions and 3 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +10
    -0
      src/etc/mailer.conf
  3. +6
    -1
      src/etc/mtree/4.4BSD.dist

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.98 1999/07/06 07:55:03 deraadt Exp $
# $OpenBSD: Makefile,v 1.99 1999/08/02 19:50:08 jakob Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@ -19,7 +19,7 @@ BIN1= aliases bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
myname ipnat.rules netstart networks newsyslog.conf passwd.conf \
phones printcap protocols rbootd.conf rc rc.conf rc.local \
rc.securelevel rc.shutdown remote rpc security services shells \
syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf
syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf mailer.conf
# -rw-rw-r--
BIN2= motd


+ 10
- 0
src/etc/mailer.conf View File

@ -0,0 +1,10 @@
# $OpenBSD: mailer.conf,v 1.1 1999/08/02 19:50:08 jakob Exp $
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail

+ 6
- 1
src/etc/mtree/4.4BSD.dist View File

@ -1,4 +1,4 @@
# $OpenBSD: 4.4BSD.dist,v 1.77 1999/07/18 09:39:51 niklas Exp $
# $OpenBSD: 4.4BSD.dist,v 1.78 1999/08/02 19:50:09 jakob Exp $
/set type=dir uname=root gname=wheel mode=0755
# .
@ -249,6 +249,11 @@ lpr
# ./usr/libexec/lpr
..
# ./libexec/sendmail
sendmail type=dir uname=root gname=wheel mode=0755
# ./libexec/sendmail
..
# ./usr/libexec/uucp
uucp
# ./usr/libexec/uucp


Loading…
Cancel
Save