make default sendmail.cf IPv4-only again.

roll sendmail-IPv6.cf, which does IPv4/v6.
This commit is contained in:
itojun 2000-05-08 00:37:53 +00:00
parent 5ebece6b49
commit 10e25f6012
6 changed files with 65 additions and 12 deletions

View File

@ -1,7 +1,9 @@
# $NetBSD: mi,v 1.54 2000/05/06 06:27:42 mycroft Exp $
# $NetBSD: mi,v 1.55 2000/05/08 00:37:54 itojun Exp $
./.cshrc
./.profile
./dev/MAKEDEV.local
./etc/aliases
./etc/aliases.db
./etc/bootptab
./etc/changelist
./etc/csh.cshrc
@ -25,10 +27,9 @@
./etc/inetd.conf
./etc/lkm.conf
./etc/localtime
./etc/mail/aliases
./etc/mail/aliases.db
./etc/mail/helpfile
./etc/mail/sendmail.cf
./etc/mail/sendmail-IPv6.cf
./etc/mail.rc
./etc/mailer.conf
./etc/man.conf

View File

@ -1,4 +1,4 @@
# $NetBSD: changelist,v 1.10 2000/05/03 10:55:19 itojun Exp $
# $NetBSD: changelist,v 1.11 2000/05/08 00:37:53 itojun Exp $
# from: @(#)changelist 8.1 (Berkeley) 6/9/93
#
# List of files which the security script backs up and checks
@ -55,6 +55,7 @@
/etc/mail/aliases
/etc/mail/helpfile
/etc/mail/sendmail.cf
/etc/mail/sendmail-IPv6.cf
/etc/mailer.conf
/etc/man.conf
/etc/master.passwd

View File

@ -1,4 +1,4 @@
# $NetBSD: special,v 1.28 2000/05/04 01:07:40 itojun Exp $
# $NetBSD: special,v 1.29 2000/05/08 00:37:54 itojun Exp $
# @(#)special 8.2 (Berkeley) 1/23/94
#
# Hand-crafted mtree specification for the dangerous files.
@ -58,6 +58,7 @@ aliases type=file mode=0644 uname=root gname=wheel
aliases.db type=file mode=0644 uname=root gname=wheel
helpfile type=file mode=0444 uname=root gname=wheel
sendmail.cf type=file mode=0444 uname=root gname=wheel
sendmail-IPv6.cf type=file mode=0444 uname=root gname=wheel
.. #etc/mail
mtree type=dir mode=0755 uname=root gname=wheel
special type=file mode=0444 uname=root gname=wheel

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2000/05/04 00:52:58 itojun Exp $
# $NetBSD: Makefile,v 1.6 2000/05/08 00:37:54 itojun Exp $
# install these sources in /usr/share/sendmail/cf
DIST= ${.CURDIR}/../../../../dist
@ -6,7 +6,8 @@ DIST= ${.CURDIR}/../../../../dist
FILESDIR= /usr/share/sendmail/cf
FILES= boat-anchor.mc chimera.mc ihack.net.mc minbar.mc \
netbsd-proto.mc sun-lamp.mc zhadum.mc Makefile
netbsd-proto.mc netbsd-proto-IPv6.mc sun-lamp.mc zhadum.mc \
Makefile
.if (${.CURDIR} == ${FILESDIR})
CFDIR= ${.CURDIR}/..
@ -18,9 +19,9 @@ M4= m4
ROMODE= 444
RM= rm -f
ALL= netbsd-proto.cf
ALL= netbsd-proto.cf netbsd-proto-IPv6.cf
OTHERS= ${FILES:C/Makefile//:C/\.mc/.cf/g:C/netbsd-proto.cf//}
OTHERS= ${FILES:C/Makefile//:C/\.mc/.cf/g:C/netbsd-proto\.cf//:C/netbsd-proto-IPv6\.cf//}
.SUFFIXES: .mc .cf
@ -42,6 +43,8 @@ realdepend:
distribution: netbsd-proto.cf
${INSTALL} -c -o root -g wheel -m 444 netbsd-proto.cf \
${DESTDIR}/etc/mail/sendmail.cf
${INSTALL} -c -o root -g wheel -m 444 netbsd-proto-IPv6.cf \
${DESTDIR}/etc/mail/sendmail-IPv6.cf
# this is overkill, but....
M4FILES= ${CFDIR}/domain/Berkeley.EDU.m4 \

View File

@ -0,0 +1,49 @@
divert(-1)
#
# Copyright (c) 1994 Adam Glass
# Copyright (c) 1983 Eric P. Allman
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
# must display the following acknowledgement:
# This product includes software developed by the University of
# California, Berkeley and its contributors.
# 4. Neither the name of the University nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
#
# This is the prototype file for a configuration that supports nothing
# but basic SMTP connections via TCP.
#
include(`../m4/cf.m4')
VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.1 $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`confAUTO_REBUILD', True)dnl
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6')dnl

View File

@ -40,10 +40,8 @@ divert(-1)
#
include(`../m4/cf.m4')
VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.3 $')
VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.4 $')
OSTYPE(bsd4.4)dnl
MAILER(local)dnl
MAILER(smtp)dnl
define(`confAUTO_REBUILD', True)dnl
DAEMON_OPTIONS(`Family=inet, address=0.0.0.0, Name=MTA')dnl
DAEMON_OPTIONS(`Family=inet6, address=::, Name=MTA6')dnl