diff --git a/gnu/usr.sbin/Makefile b/gnu/usr.sbin/Makefile new file mode 100644 index 000000000000..45788bda879a --- /dev/null +++ b/gnu/usr.sbin/Makefile @@ -0,0 +1,5 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:33 tron Exp $ + +SUBDIR= sendmail + +.include diff --git a/gnu/usr.sbin/Makefile.inc b/gnu/usr.sbin/Makefile.inc new file mode 100644 index 000000000000..4bfe4e82c840 --- /dev/null +++ b/gnu/usr.sbin/Makefile.inc @@ -0,0 +1,4 @@ +# $NetBSD: Makefile.inc,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $ + +BINDIR?= /usr/sbin +WARNS?= 1 diff --git a/gnu/usr.sbin/sendmail/Makefile b/gnu/usr.sbin/sendmail/Makefile new file mode 100644 index 000000000000..967a1a602187 --- /dev/null +++ b/gnu/usr.sbin/sendmail/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $ + +.include + +SUBDIR= sendmail mailstats makemap praliases smrsh + +.if ${MKSHARE} != "no" +SUBDIR+= cf/cf +.if make(install) +SUBDIR+= doc/intro doc/op cf +.endif +.endif + +.include diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc new file mode 100644 index 000000000000..cc0b3e57754d --- /dev/null +++ b/gnu/usr.sbin/sendmail/Makefile.inc @@ -0,0 +1,10 @@ +# $NetBSD: Makefile.inc,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $ + +WARNS?= 0 +CPPFLAGS+= -DNETINET6 -DNETISO + +DBMDEF= -DNEWDB -DNIS + +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif diff --git a/gnu/usr.sbin/sendmail/cf/Makefile b/gnu/usr.sbin/sendmail/cf/Makefile new file mode 100644 index 000000000000..53f6c24395a4 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $ +# install these sources in /usr/share/sendmail + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail + +.if ${MKSHARE} != "no" +FILESDIR= /usr/share/sendmail +FILES= README + +SUBDIR= domain feature hack m4 mailer ostype sh siteconfig +.endif + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/cf/Makefile b/gnu/usr.sbin/sendmail/cf/cf/Makefile new file mode 100644 index 000000000000..b17a4585b5ad --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/Makefile @@ -0,0 +1,116 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $ +# install these sources in /usr/share/sendmail/cf + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/cf + +FILESDIR= /usr/share/sendmail/cf +FILES= boat-anchor.mc chimera.mc sun-lamp.mc ihack.net.mc \ + clientproto.mc netbsd-proto.mc tcpproto.mc uucpproto.mc \ + zhadum.mc Makefile + +.if (${.CURDIR} == ${FILESDIR}) +CFDIR= ${.CURDIR}/.. +.else +CFDIR= ${DIST}/sendmail/cf +.endif +CHMOD= chmod +M4= m4 +ROMODE= 444 +RM= rm -f + +ALL= netbsd-proto.cf + +OTHERS= boat-anchor.cf chimera.cf sun-lamp.cf ihack.net.cf \ + clientproto.cf tcpproto.cf uucpproto.cf zhadum.cf + +.SUFFIXES: .mc .cf + +.mc.cf: + ${RM} $@ + (cd ${CFDIR}/cf && ${M4} ${.CURDIR}/${@:R}.mc > ${.OBJDIR}/$@) + ${CHMOD} ${ROMODE} $@ + +realall: ${ALL} + +others: ${OTHERS} + +clean cleandir distclean: + ${RM} ${ALL} core + +realdepend: + +distribution: + ${INSTALL} -c -o root -g wheel -m 444 netbsd-proto.cf \ + ${DESTDIR}/etc/sendmail.cf + +# this is overkill, but.... +M4FILES= ${CFDIR}/domain/Berkeley.EDU.m4 \ + ${CFDIR}/domain/CS.Berkeley.EDU.m4 \ + ${CFDIR}/domain/EECS.Berkeley.EDU.m4 \ + ${CFDIR}/domain/S2K.Berkeley.EDU.m4 \ + ${CFDIR}/domain/berkeley-only.m4 \ + ${CFDIR}/domain/generic.m4 \ + ${.CURDIR}/../domain/NetBSD.ORG.m4 \ + ${.CURDIR}/../domain/ihack.net.m4 \ + ${CFDIR}/feature/accept_unqualified_senders.m4 \ + ${CFDIR}/feature/accept_unresolvable_domains.m4 \ + ${CFDIR}/feature/access_db.m4 \ + ${CFDIR}/feature/allmasquerade.m4 \ + ${CFDIR}/feature/always_add_domain.m4 \ + ${CFDIR}/feature/bestmx_is_local.m4 \ + ${CFDIR}/feature/bitdomain.m4 \ + ${CFDIR}/feature/blacklist_recipients.m4 \ + ${CFDIR}/feature/domaintable.m4 \ + ${CFDIR}/feature/genericstable.m4 \ + ${CFDIR}/feature/limited_masquerade.m4 \ + ${CFDIR}/feature/local_lmtp.m4 \ + ${CFDIR}/feature/local_procmail.m4 \ + ${CFDIR}/feature/loose_relay_check.m4 \ + ${CFDIR}/feature/mailertable.m4 \ + ${CFDIR}/feature/masquerade_entire_domain.m4 \ + ${CFDIR}/feature/masquerade_envelope.m4 \ + ${CFDIR}/feature/nocanonify.m4 \ + ${CFDIR}/feature/nodns.m4 \ + ${CFDIR}/feature/notsticky.m4 \ + ${CFDIR}/feature/nouucp.m4 \ + ${CFDIR}/feature/nullclient.m4 \ + ${CFDIR}/feature/promiscuous_relay.m4 \ + ${CFDIR}/feature/rbl.m4 \ + ${CFDIR}/feature/redirect.m4 \ + ${CFDIR}/feature/relay_based_on_MX.m4 \ + ${CFDIR}/feature/relay_entire_domain.m4 \ + ${CFDIR}/feature/relay_hosts_only.m4 \ + ${CFDIR}/feature/relay_local_from.m4 \ + ${CFDIR}/feature/smrsh.m4 \ + ${CFDIR}/feature/stickyhost.m4 \ + ${CFDIR}/feature/use_ct_file.m4 \ + ${CFDIR}/feature/use_cw_file.m4 \ + ${CFDIR}/feature/uucpdomain.m4 \ + ${CFDIR}/feature/virtusertable.m4 \ + ${CFDIR}/hack/cssubdomain.m4 \ + ${CFDIR}/m4/cf.m4 \ + ${CFDIR}/m4/cfhead.m4 \ + ${CFDIR}/m4/nullrelay.m4 \ + ${CFDIR}/m4/proto.m4 \ + ${CFDIR}/m4/version.m4 \ + ${CFDIR}/mailer/cyrus.m4 \ + ${CFDIR}/mailer/fax.m4 \ + ${CFDIR}/mailer/local.m4 \ + ${CFDIR}/mailer/mail11.m4 \ + ${CFDIR}/mailer/phquery.m4\ + ${CFDIR}/mailer/pop.m4 \ + ${CFDIR}/mailer/procmail.m4 \ + ${CFDIR}/mailer/smtp.m4 \ + ${CFDIR}/mailer/usenet.m4 \ + ${CFDIR}/mailer/uucp.m4 \ + ${CFDIR}/ostype/bsd4.4.m4 \ + ${CFDIR}/siteconfig/uucp.cogsci.m4 \ + ${CFDIR}/siteconfig/uucp.old.arpa.m4 \ + ${CFDIR}/siteconfig/uucp.ucbarpa.m4 \ + ${CFDIR}/siteconfig/uucp.ucbvax.m4 + +${ALL}: ${M4FILES} + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/cf/boat-anchor.mc b/gnu/usr.sbin/sendmail/cf/cf/boat-anchor.mc new file mode 100644 index 000000000000..77f122b365ad --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/boat-anchor.mc @@ -0,0 +1,47 @@ +divert(-1) +# +# Copyright (c) 1993 Adam Glass +# Copyright (c) 1983 Eric P. Allman +# Copyright (c) 1988 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. +# + +include(`../m4/cf.m4') +VERSIONID(`@(#)boat-anchor.mc $Revision: 1.1.1.1 $') +OSTYPE(bsd4.4)dnl +MAILER(local)dnl +MAILER(smtp)dnl +define(`UUCP_RELAY', ucbvax.Berkeley.EDU)dnl +define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl +define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl +define(`LOCAL_RELAY', sun-lamp.CS.Berkeley.EDU) +define(`MAIL_HUB', sun-lamp.CS.Berkeley.EDU) +define(`confCHECKPOINT_INTERVAL', 4)dnl diff --git a/gnu/usr.sbin/sendmail/cf/cf/chimera.mc b/gnu/usr.sbin/sendmail/cf/cf/chimera.mc new file mode 100644 index 000000000000..b86168caee34 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/chimera.mc @@ -0,0 +1,48 @@ +divert(-1) +# +# Copyright (c) 1993, 1994, 1995 Adam Glass +# Copyright (c) 1983 Eric P. Allman +# Copyright (c) 1988 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. +# +# +include(`../m4/cf.m4') +VERSIONID(`@(#)pain.mc $Revision: 1.1.1.1 $') +OSTYPE(bsd4.4)dnl +MAILER(local)dnl +MAILER(smtp)dnl +define(`MAIL_HUB', mail.netbsd.org)dnl +define(`SMART_HOST', nobozo.cs.berkeley.edu)dnl +define(`confCHECKPOINT_INTERVAL', 10)dnl +define(`confAUTO_REBUILD', True)dnl +define(`confMESSAGE_TIMEOUT', 3d/4h)dnl +MASQUERADE_AS(netbsd.org)dnl +LOCAL_USER(root) diff --git a/gnu/usr.sbin/sendmail/cf/cf/ihack.net.mc b/gnu/usr.sbin/sendmail/cf/cf/ihack.net.mc new file mode 100644 index 000000000000..ab56a6683ac9 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/ihack.net.mc @@ -0,0 +1,45 @@ +divert(-1) +# +# 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. +# + +# Mailer configuration for *.ihack.net. + +include(`../m4/cf.m4') +VERSIONID(`$NetBSD: ihack.net.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $') +OSTYPE(bsd4.4)dnl + +DOMAIN(ihack.net)dnl + +MAILER(local)dnl +MAILER(smtp)dnl diff --git a/gnu/usr.sbin/sendmail/cf/cf/minbar.mc b/gnu/usr.sbin/sendmail/cf/cf/minbar.mc new file mode 100644 index 000000000000..ee9537632979 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/minbar.mc @@ -0,0 +1,46 @@ +divert(-1) +# +# Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved. +# 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. +# + +# Mailer configuration for minbar.netbsd.org (a.k.a. cvs.fi.netbsd.org). + +include(`../m4/cf.m4') +VERSIONID(`$NetBSD: minbar.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $') +OSTYPE(bsd4.4)dnl +MAILER(local)dnl +MAILER(smtp)dnl + +DOMAIN(NetBSD.ORG)dnl diff --git a/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc b/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc new file mode 100644 index 000000000000..1e33b0df5a6f --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc @@ -0,0 +1,50 @@ +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. +# +# You may want to add an OSTYPE macro to get the location of various +# support files for your operating system environment. +# + +include(`../m4/cf.m4') +VERSIONID(`@(#)netbsd-proto.mc $Revision: 1.1.1.1 $') +OSTYPE(bsd4.4)dnl +MAILER(local)dnl +MAILER(smtp)dnl +define(`confAUTO_REBUILD', True)dnl diff --git a/gnu/usr.sbin/sendmail/cf/cf/sun-lamp.mc b/gnu/usr.sbin/sendmail/cf/cf/sun-lamp.mc new file mode 100644 index 000000000000..4b21137840eb --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/sun-lamp.mc @@ -0,0 +1,52 @@ +divert(-1) +# +# Copyright (c) 1993, 1994 Adam Glass +# Copyright (c) 1983 Eric P. Allman +# Copyright (c) 1988 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. +# + +include(`../m4/cf.m4') +VERSIONID(`@(#)sun-lamp.mc $Revision: 1.1.1.1 $') +OSTYPE(bsd4.4)dnl +MASQUERADE_AS(netbsd.org)dnl +MAILER(local)dnl +MAILER(smtp)dnl +define(`UUCP_RELAY', mailhost.Berkeley.EDU)dnl +define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl +define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl +define(`confCHECKPOINT_INTERVAL', 10)dnl +define(`confAUTO_REBUILD', True)dnl +define(`confMESSAGE_TIMEOUT', 3d/4h)dnl +Cw lamp.CS.Berkeley.EDU +Cw mail.netbsd.org +Cw ftp.netbsd.org +Cw netbsd.org diff --git a/gnu/usr.sbin/sendmail/cf/cf/zhadum.mc b/gnu/usr.sbin/sendmail/cf/cf/zhadum.mc new file mode 100644 index 000000000000..5bb4d04a740f --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/cf/zhadum.mc @@ -0,0 +1,46 @@ +divert(-1) +# +# Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved. +# 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. +# + +# Mailer configuration for zhadum.netbsd.org (a.k.a. cvs.netbsd.org). + +include(`../m4/cf.m4') +VERSIONID(`$NetBSD: zhadum.mc,v 1.1.1.1 2000/02/08 13:45:41 tron Exp $') +OSTYPE(bsd4.4)dnl +MAILER(local)dnl +MAILER(smtp)dnl + +DOMAIN(NetBSD.ORG)dnl diff --git a/gnu/usr.sbin/sendmail/cf/domain/Makefile b/gnu/usr.sbin/sendmail/cf/domain/Makefile new file mode 100644 index 000000000000..3cfb92f7b56f --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/domain/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:37 tron Exp $ +# install these sources in /usr/share/sendmail/domain + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/domain + +FILESDIR= /usr/share/sendmail/domain +FILES= Berkeley.EDU.m4 CS.Berkeley.EDU.m4 EECS.Berkeley.EDU.m4 \ + NetBSD.ORG.m4 S2K.Berkeley.EDU.m4 berkeley-only.m4 generic.m4 \ + ihack.net.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/domain/NetBSD.ORG.m4 b/gnu/usr.sbin/sendmail/cf/domain/NetBSD.ORG.m4 new file mode 100644 index 000000000000..744fb974a8d3 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/domain/NetBSD.ORG.m4 @@ -0,0 +1,15 @@ +define(`confAUTO_REBUILD', True)dnl +define(`confMIME_FORMAT_ERRORS', False)dnl + +FEATURE(redirect)dnl + +# All mail for netbsd.org machines is sent to mail.netbsd.org for processing. +# Outgoing mail is from netbsd.org. + +MASQUERADE_AS(`netbsd.org')dnl +FEATURE(allmasquerade)dnl +EXPOSED_USER(root)dnl + +define(`MAIL_HUB', `mail.netbsd.org')dnl +define(`LOCAL_RELAY', `mail.netbsd.org')dnl +define(`SMART_HOST', `mail.netbsd.org')dnl diff --git a/gnu/usr.sbin/sendmail/cf/domain/ihack.net.m4 b/gnu/usr.sbin/sendmail/cf/domain/ihack.net.m4 new file mode 100644 index 000000000000..0f20ed380f65 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/domain/ihack.net.m4 @@ -0,0 +1,21 @@ +define(`confAUTO_REBUILD', True)dnl +define(`confMIME_FORMAT_ERRORS', False)dnl +define(`confTRUSTED_USERS', mycroft)dnl + +FEATURE(redirect)dnl + +define(`MAIL_HUB', `mail.ihack.net.')dnl +define(`UUCP_RELAY', `life.ai.mit.edu.')dnl +define(`BITNET_RELAY', `mitvma.mit.edu.')dnl + +# All mail for ihack.net machines is sent to mail.ihack.net for processing. +# Outgoing mail is from ihack.net. + +MASQUERADE_AS(`ihack.net')dnl +MASQUERADE_DOMAIN(`ihack.net')dnl +MASQUERADE_DOMAIN(`ihack.org')dnl +MASQUERADE_DOMAIN(`ihack.com')dnl +FEATURE(allmasquerade)dnl +FEATURE(always_add_domain)dnl +FEATURE(masquerade_envelope)dnl +FEATURE(masquerade_entire_domain)dnl diff --git a/gnu/usr.sbin/sendmail/cf/feature/Makefile b/gnu/usr.sbin/sendmail/cf/feature/Makefile new file mode 100644 index 000000000000..1897e07db50e --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/feature/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:37 tron Exp $ +# install these sources in /usr/share/sendmail/feature + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/feature + +FILESDIR= /usr/share/sendmail/feature +FILES= accept_unqualified_senders.m4 accept_unresolvable_domains.m4 \ + access_db.m4 allmasquerade.m4 always_add_domain.m4 \ + bestmx_is_local.m4 bitdomain.m4 blacklist_recipients.m4 \ + domaintable.m4 genericstable.m4 limited_masquerade.m4 \ + local_lmtp.m4 local_procmail.m4 loose_relay_check.m4 \ + mailertable.m4 masquerade_entire_domain.m4 \ + masquerade_envelope.m4 nocanonify.m4 nodns.m4 notsticky.m4 \ + nouucp.m4 nullclient.m4 promiscuous_relay.m4 rbl.m4 \ + redirect.m4 relay_based_on_MX.m4 relay_entire_domain.m4 \ + relay_hosts_only.m4 relay_local_from.m4 smrsh.m4 \ + stickyhost.m4 use_ct_file.m4 use_cw_file.m4 uucpdomain.m4 \ + virtusertable.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/hack/Makefile b/gnu/usr.sbin/sendmail/cf/hack/Makefile new file mode 100644 index 000000000000..ef143d2413d2 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/hack/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:38 tron Exp $ +# install these sources in /usr/share/sendmail/hack + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/hack + +FILESDIR= /usr/share/sendmail/hack +FILES= cssubdomain.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/m4/Makefile b/gnu/usr.sbin/sendmail/cf/m4/Makefile new file mode 100644 index 000000000000..4c5b59906982 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/m4/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:39 tron Exp $ +# install these sources in /usr/share/sendmail/m4 + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/m4 + +FILESDIR= /usr/share/sendmail/m4 +FILES= cf.m4 cfhead.m4 nullrelay.m4 proto.m4 version.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/mailer/Makefile b/gnu/usr.sbin/sendmail/cf/mailer/Makefile new file mode 100644 index 000000000000..a74cca8f876b --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/mailer/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $ +# install these sources in /usr/share/sendmail/mailer + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/mailer + +FILESDIR= /usr/share/sendmail/mailer +FILES= cyrus.m4 fax.m4 local.m4 mail11.m4 phquery.m4 pop.m4 \ + procmail.m4 smtp.m4 usenet.m4 uucp.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/ostype/Makefile b/gnu/usr.sbin/sendmail/cf/ostype/Makefile new file mode 100644 index 000000000000..86b49a4f0843 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/ostype/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $ +# install these sources in /usr/share/sendmail/ostype + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/ostype + +FILESDIR= /usr/share/sendmail/ostype +FILES= aix2.m4 aix3.m4 aix4.m4 altos.m4 amdahl-uts.m4 aux.m4 \ + bsd4.3.m4 bsd4.4.m4 bsdi1.0.m4 bsdi2.0.m4 dgux.m4 domainos.m4 \ + dynix3.2.m4 gnuhurd.m4 hpux10.m4 hpux9.m4 irix4.m4 irix5.m4 \ + irix6.m4 isc4.1.m4 linux.m4 maxion.m4 mklinux.m4 nextstep.m4 \ + osf1.m4 powerux.m4 ptx2.m4 qnx.m4 riscos4.5.m4 sco-uw-2.1.m4 \ + sco3.2.m4 sinix.m4 solaris2.m4 solaris2.ml.m4 sunos3.5.m4 \ + sunos4.1.m4 svr4.m4 ultrix4.m4 unixware7.m4 unknown.m4 uxpds.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/sh/Makefile b/gnu/usr.sbin/sendmail/cf/sh/Makefile new file mode 100644 index 000000000000..617cb6929214 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/sh/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $ +# install these sources in /usr/share/sendmail/sh + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/sh + +FILESDIR= /usr/share/sendmail/sh +FILES= makeinfo.sh + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/cf/siteconfig/Makefile b/gnu/usr.sbin/sendmail/cf/siteconfig/Makefile new file mode 100644 index 000000000000..2528ff5fe1f2 --- /dev/null +++ b/gnu/usr.sbin/sendmail/cf/siteconfig/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:40 tron Exp $ +# install these sources in /usr/share/sendmail/siteconfig + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/cf/siteconfig + +FILESDIR= /usr/share/sendmail/siteconfig +FILES= uucp.cogsci.m4 uucp.old.arpa.m4 uucp.ucbarpa.m4 uucp.ucbvax.m4 + +all: + +.include +.include diff --git a/gnu/usr.sbin/sendmail/doc/intro/Makefile b/gnu/usr.sbin/sendmail/doc/intro/Makefile new file mode 100644 index 000000000000..47b87e6bb952 --- /dev/null +++ b/gnu/usr.sbin/sendmail/doc/intro/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $ + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/doc/intro + +DIR= smm/09.sendmail +SRCS= intro.me +MACROS= -me +RM= rm -f + +all: intro.ps + +intro.ps: ${SRCS} + ${RM} ${.TARGET} + ${PIC} ${SRCS} | ${ROFF} >${.TARGET} + +.include diff --git a/gnu/usr.sbin/sendmail/doc/op/Makefile b/gnu/usr.sbin/sendmail/doc/op/Makefile new file mode 100644 index 000000000000..a3aef55ae24e --- /dev/null +++ b/gnu/usr.sbin/sendmail/doc/op/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $ + +DIST= ${.CURDIR}/../../../../dist +.PATH: ${DIST}/sendmail/doc/op + +DIR= smm/08.sendmailop +SRCS= op.me +MACROS= -me +RM= rm -f + +all: op.ps + +op.ps: ${SRCS} + ${RM} ${.TARGET} + ${PIC} ${SRCS} | ${ROFF} >${.TARGET} + +.include diff --git a/gnu/usr.sbin/sendmail/mailstats/Makefile b/gnu/usr.sbin/sendmail/mailstats/Makefile new file mode 100644 index 000000000000..9a5876a04265 --- /dev/null +++ b/gnu/usr.sbin/sendmail/mailstats/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $ + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail/mailstats + +PROG= mailstats +MAN= mailstats.8 + +CPPFLAGS+= -I${DIST}/sendmail/src -DNOT_SENDMAIL + +.include diff --git a/gnu/usr.sbin/sendmail/makemap/Makefile b/gnu/usr.sbin/sendmail/makemap/Makefile new file mode 100644 index 000000000000..b2e7dac59403 --- /dev/null +++ b/gnu/usr.sbin/sendmail/makemap/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $ + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail/makemap ${DIST}/sendmail/src + +PROG= makemap + +SRCS= makemap.c safefile.c +MAN= makemap.8 +CPPFLAGS+= -I${DIST}/sendmail/src ${DBMDEF} -DNOT_SENDMAIL + +.include diff --git a/gnu/usr.sbin/sendmail/praliases/Makefile b/gnu/usr.sbin/sendmail/praliases/Makefile new file mode 100644 index 000000000000..15ad80a4f81b --- /dev/null +++ b/gnu/usr.sbin/sendmail/praliases/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:35 tron Exp $ + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail/praliases + +PROG= praliases + +MAN= praliases.8 +CPPFLAGS+= -I${DIST}/sendmail/src ${DBMDEF} + +.include diff --git a/gnu/usr.sbin/sendmail/sendmail/Makefile b/gnu/usr.sbin/sendmail/sendmail/Makefile new file mode 100644 index 000000000000..a3645b0a85cf --- /dev/null +++ b/gnu/usr.sbin/sendmail/sendmail/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:34 tron Exp $ + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail/src + +PROG= sendmail + +CPPFLAGS+= ${DBMDEF} -DMAP_REGEX -DTCPWRAPPERS +LDADD+= -lwrap +DPADD+= ${LIBWRAP} + +SRCS= alias.c arpadate.c clock.c collect.c conf.c control.c \ + convtime.c daemon.c deliver.c domain.c envelope.c err.c \ + headers.c macro.c main.c map.c mci.c mime.c parseaddr.c \ + queue.c readcf.c recipient.c safefile.c savemail.c snprintf.c \ + srvrsmtp.c stab.c stats.c sysexits.c trace.c udb.c usersmtp.c \ + util.c version.c +MAN= aliases.5 mailq.1 newaliases.1 sendmail.8 + +BINDIR= /usr/libexec/sendmail +BINOWN= root +BINGRP= kmem +BINMODE=6555 +.if ${MKSHARE} != "no" +FILES=sendmail.hf +FILESDIR=/usr/share/misc +.endif + +afterinstall: + ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ + ${DESTDIR}/var/log/sendmail.st + + +.include diff --git a/gnu/usr.sbin/sendmail/smrsh/Makefile b/gnu/usr.sbin/sendmail/smrsh/Makefile new file mode 100644 index 000000000000..5dccfc38e032 --- /dev/null +++ b/gnu/usr.sbin/sendmail/smrsh/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/02/08 13:45:36 tron Exp $ + +.include + +DIST= ${.CURDIR}/../../../dist +.PATH: ${DIST}/sendmail/smrsh + +PROG= smrsh + +MAN= smrsh.8 +CPPFLAGS+= -I${DIST}/sendmail/src + +.include