diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-06 18:26:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-06 18:26:06 +0000 |
commit | d99aa4da2240fb5c4d631586b65f27055989750f (patch) | |
tree | b6561f7d42c366c28062c9fd2177b742b54c37a3 /etc | |
parent | e27b6ef12baec377426c77cac291064cb8356b96 (diff) |
Enable sendmail 8.10.0. Things like sendmail.* and aliases now live
in /etc/mail.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 9 | ||||
-rw-r--r-- | etc/mtree/special | 10 | ||||
-rw-r--r-- | etc/rc | 6 |
3 files changed, 15 insertions, 10 deletions
diff --git a/etc/Makefile b/etc/Makefile index 1d73ba77fcf..f504ac916b4 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.106 2000/01/11 13:50:03 peter Exp $ +# $OpenBSD: Makefile,v 1.107 2000/04/06 18:26:04 millert Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific @@ -12,7 +12,7 @@ NOOBJ= oobj # -rw-r--r-- BINOWN= root BINGRP= wheel -BIN1= aliases bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \ +BIN1= bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \ daily dhcpd.conf dhcpd.interfaces dm.conf exports ftpusers \ ftpchroot gettytab group hosts hosts.lpd ifaliases inetd.conf \ ipf.rules ksh.kshrc locate.rc man.conf monthly motd mrouted.conf \ @@ -206,7 +206,10 @@ distribution-etc-root-var: distrib-dirs (cd ../lib/libssl; ${MAKE} -f Makefile.bsd-wrapper distribution) (cd ../gnu/usr.bin/lynx; ${MAKE} -f Makefile.bsd-wrapper distribution) (cd ../usr.bin/mail; ${MAKE} distribution) - /usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/sendmail.cf -bi -O AliasFile=${DESTDIR}/etc/aliases + ${INSTALL} -c -o root -g ${BINGRP} -m 644 aliases \ + ${DESTDIR}/etc/mail/aliases + /usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/mail/sendmail.cf \ + -bi -O AliasFile=${DESTDIR}/etc/mail/aliases ${INSTALL} -c -o root -g wheel -m 600 root/root.mail \ ${DESTDIR}/var/mail/root diff --git a/etc/mtree/special b/etc/mtree/special index 25674ae787c..8f9011fff34 100644 --- a/etc/mtree/special +++ b/etc/mtree/special @@ -1,4 +1,4 @@ -# $OpenBSD: special,v 1.23 2000/01/05 19:57:37 angelos Exp $ +# $OpenBSD: special,v 1.24 2000/04/06 18:26:05 millert Exp $ # $NetBSD: special,v 1.4 1996/05/08 21:30:18 pk Exp $ # @(#)special 8.2 (Berkeley) 1/23/94 # @@ -16,8 +16,6 @@ mem type=char mode=0640 uname=root gname=kmem .. #dev etc type=dir mode=0755 uname=root gname=wheel -aliases type=file mode=0644 uname=root gname=wheel optional -aliases.db type=file mode=0644 uname=root gname=wheel optional crontab type=file mode=0644 uname=root gname=wheel optional csh.cshrc type=file mode=0644 uname=root gname=wheel csh.login type=file mode=0644 uname=root gname=wheel @@ -44,6 +42,11 @@ mailer.conf type=file mode=0644 uname=root gname=wheel master.passwd type=file mode=0600 uname=root gname=wheel monthly type=file mode=0644 uname=root gname=wheel monthly.local type=file mode=0644 uname=root gname=wheel optional +mail type=dir mode=0755 uname=root gname=wheel +aliases type=file mode=0644 uname=root gname=wheel optional +aliases.db type=file mode=0644 uname=root gname=wheel optional +sendmail.cf type=file mode=0644 uname=root gname=wheel optional +.. #mail mtree type=dir mode=0755 uname=root gname=wheel special type=file mode=0600 uname=root gname=wheel .. #mtree @@ -58,7 +61,6 @@ rc.securelevel type=file mode=0644 uname=root gname=wheel rc.shutdown type=file mode=0644 uname=root gname=wheel security type=file mode=0644 uname=root gname=wheel resolv.conf type=file mode=0644 uname=root gname=wheel optional -sendmail.cf type=file mode=0644 uname=root gname=wheel optional shells type=file mode=0644 uname=root gname=wheel skeykeys type=file mode=0600 uname=root gname=wheel optional spwd.db type=file mode=0600 uname=root gname=wheel @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.131 2000/03/05 16:55:22 millert Exp $ +# $OpenBSD: rc,v 1.132 2000/04/06 18:26:04 millert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -445,10 +445,10 @@ if [ X${lpd} = X"YES" ]; then fi # $sendmail_flags is imported from /etc/rc.conf; -# If $sendmail_flags == NO or /etc/sendmail.cf doesn't exist, then +# If $sendmail_flags == NO or /etc/mail/sendmail.cf doesn't exist, then # sendmail isn't run. We call sendmail with a full path so that # SIGHUP works. -if [ "X${sendmail_flags}" != X"NO" -a -s /etc/sendmail.cf ]; then +if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mail/sendmail.cf ]; then echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags} fi |