summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sendmail
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-14 14:42:06 +0000
committerpeter <peter@FreeBSD.org>1997-08-14 14:42:06 +0000
commitdf2d634ff5af80a30ca26c66d14d6237c03f5741 (patch)
tree8c183838676ec4971d3b3cc38a9374f0787939b6 /usr.sbin/sendmail
parentc1d8a1669b1cd9f73b9024df17529eae1849c16c (diff)
downloadFreeBSD-src-df2d634ff5af80a30ca26c66d14d6237c03f5741.zip
FreeBSD-src-df2d634ff5af80a30ca26c66d14d6237c03f5741.tar.gz
Snapshot the various mail configurations. hub.mc was reconstructed to
produce the same sendmail.cf since the original has been lost.
Diffstat (limited to 'usr.sbin/sendmail')
-rw-r--r--usr.sbin/sendmail/cf/cf/Makefile2
-rw-r--r--usr.sbin/sendmail/cf/cf/freefall.mc43
-rw-r--r--usr.sbin/sendmail/cf/cf/hub.mc81
3 files changed, 93 insertions, 33 deletions
diff --git a/usr.sbin/sendmail/cf/cf/Makefile b/usr.sbin/sendmail/cf/cf/Makefile
index 6aece5b..3b8003e 100644
--- a/usr.sbin/sendmail/cf/cf/Makefile
+++ b/usr.sbin/sendmail/cf/cf/Makefile
@@ -24,7 +24,7 @@ RM= rm -f
(cd ${.CURDIR} && $(M4) ${CFDIR}/m4/cf.m4 ${@:R}.mc) > $@
$(CHMOD) $(ROMODE) $@
-ALL= freebsd.cf freefall.cf
+ALL= freebsd.cf
# Local sendmail.cf, may be set in /etc/make.conf. Warning! If set, this
# causes 'make install' to always copy it over /etc/sendmail.cf!!!
diff --git a/usr.sbin/sendmail/cf/cf/freefall.mc b/usr.sbin/sendmail/cf/cf/freefall.mc
index fb74b66..f73df95 100644
--- a/usr.sbin/sendmail/cf/cf/freefall.mc
+++ b/usr.sbin/sendmail/cf/cf/freefall.mc
@@ -33,36 +33,15 @@ divert(-1)
# SUCH DAMAGE.
#
+#
+# This the prototype for a "null client" -- that is, a client that
+# does nothing except forward all mail to a mail hub, plus an extra
+# line to make the email all appear as coming from "FreeBSD.org".
+#
+
divert(0)dnl
-VERSIONID(`@(#)freefall.mc $Revision: 1.10 $')
-OSTYPE(bsd4.4)dnl
-DOMAIN(generic)dnl
-MAILER(local)dnl
-MAILER(smtp)dnl
-FEATURE(mailertable, `hash -o /etc/mailertable')dnl
-define(`UUCP_RELAY', ucbvax.Berkeley.EDU)dnl
-define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
-define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
-define(`confCW_FILE', `-o /etc/sendmail.cw')dnl
-define(`confCHECKPOINT_INTERVAL', `4')dnl
-define(`confAUTO_REBUILD', `True')dnl
-define(`confMIN_FREE_BLOCKS', `1024')dnl
-define(`confSMTP_MAILER', `smtp8')dnl
-define(`confME_TOO', `True')dnl
-define(`confMCI_CACHE_TIMEOUT', `10m')dnl
-define(`confTO_QUEUEWARN', `1d')dnl
-define(`confTO_QUEUEWARN_NORMAL', `1d')dnl
-define(`confTO_RCPT', `10m')dnl
-define(`confTO_DATABLOCK', `10m')dnl
-define(`confTO_DATAFINAL', `10m')dnl
-define(`confTO_COMMAND', `10m')dnl
-define(`confTO_HOSTSTATUS', `30m')dnl
-define(`confMIN_QUEUE_AGE', `30m')dnl
-define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
-define(`confTRUSTED_USERS', `majordom')dnl
-define(`confRECEIVED_HEADER', `$?sfrom $s $.$?_($?s$|from $.$_)$.
- by $j ($v/$Z)$?r with $r$. id $i$?u$|;$.
- $?ufor $u; $.$b')dnl
-define(`confHOST_STATUS_DIRECTORY', `.hoststat')dnl
-define(`confMAX_DAEMON_CHILDREN', `8')dnl
-define(`confCONNECTION_THROTTLE_RATE', `1')dnl
+VERSIONID(`$Id$')
+
+OSTYPE(bsd4.4)
+FEATURE(nullclient, hub.$m)
+MASQUERADE_AS(FreeBSD.org)
diff --git a/usr.sbin/sendmail/cf/cf/hub.mc b/usr.sbin/sendmail/cf/cf/hub.mc
new file mode 100644
index 0000000..adcc4b5
--- /dev/null
+++ b/usr.sbin/sendmail/cf/cf/hub.mc
@@ -0,0 +1,81 @@
+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.
+#
+
+#
+# This file is the configuration for hub.freebsd.org, the project's mail
+# server. It needs to handle some ugly mail volumes.
+#
+
+divert(0)dnl
+VERSIONID(`$Id$')
+
+OSTYPE(bsd4.4)dnl
+DOMAIN(generic)dnl
+MAILER(local)dnl
+MAILER(smtp)dnl
+MASQUERADE_AS(FreeBSD.ORG)dnl
+FEATURE(mailertable, `hash -o /etc/mailertable')dnl
+FEATURE(masquerade_envelope)dnl
+EXPOSED_USER(root)dnl
+EXPOSED_USER(mailman)dnl
+define(`UUCP_RELAY', uunet.uu.net)dnl
+define(`BITNET_RELAY', mailhost.Berkeley.EDU)dnl
+define(`CSNET_RELAY', mailhost.Berkeley.EDU)dnl
+define(`confCW_FILE', `-o /etc/sendmail.cw')dnl
+define(`confCHECKPOINT_INTERVAL', `4')dnl
+define(`confAUTO_REBUILD', `True')dnl
+define(`confMIN_FREE_BLOCKS', `1024')dnl
+define(`confSMTP_MAILER', `smtp8')dnl
+define(`confME_TOO', `True')dnl
+define(`confMCI_CACHE_TIMEOUT', `10m')dnl
+define(`confTO_QUEUEWARN', `1d')dnl
+define(`confTO_QUEUEWARN_NORMAL', `1d')dnl
+define(`confTO_RCPT', `10m')dnl
+define(`confTO_DATABLOCK', `10m')dnl
+define(`confTO_DATAFINAL', `10m')dnl
+define(`confTO_COMMAND', `10m')dnl
+define(`confTO_HOSTSTATUS', `30m')dnl
+define(`confMIN_QUEUE_AGE', `30m')dnl
+define(`confNO_RCPT_ACTION', `add-to-undisclosed')dnl
+define(`confTRUSTED_USERS', `majordom')dnl
+define(`confRECEIVED_HEADER', `$?sfrom $s $.$?_($?s$|from $.$_)$.
+ by $j ($v/$Z)$?r with $r$. id $i$?u$|;$.
+ $?ufor $u; $.$b')dnl
+define(`confHOST_STATUS_DIRECTORY', `.hoststat')dnl
+define(`confMAX_DAEMON_CHILDREN', `8')dnl
+define(`confCONNECTION_THROTTLE_RATE', `1')dnl
+
+LOCAL_CONFIG
+Cw localhost freefall.freebsd.org
OpenPOWER on IntegriCloud