xref: /freebsd/contrib/sendmail/cf/cf/ucbvax.mc (revision 6e8394b8baa7d5d9153ab90de6824bcd19b3b4e1)
1divert(-1)
2#
3# Copyright (c) 1998 Sendmail, Inc.  All rights reserved.
4# Copyright (c) 1983 Eric P. Allman.  All rights reserved.
5# Copyright (c) 1988, 1993
6#	The Regents of the University of California.  All rights reserved.
7#
8# By using this file, you agree to the terms and conditions set
9# forth in the LICENSE file which can be found at the top level of
10# the sendmail distribution.
11#
12#
13
14#
15#  This machine has been decommissioned at Berkeley, and hence should
16#  not be considered to be tested.  This file is provided as an example
17#  only, of how you might set up a fairly complex configuration.
18#  Ucbvax was our main relay (both SMTP and UUCP) for many years.
19#  At this point I recommend using `FEATURE(mailertable)' instead of
20#  `SITECONFIG' for routing of UUCP within your domain.
21#
22
23divert(0)dnl
24VERSIONID(`@(#)ucbvax.mc	8.11 (Berkeley) 5/19/1998')
25OSTYPE(bsd4.3)
26DOMAIN(CS.Berkeley.EDU)
27MASQUERADE_AS(CS.Berkeley.EDU)
28MAILER(local)
29MAILER(smtp)
30MAILER(uucp)
31undefine(`UUCP_RELAY')dnl
32
33LOCAL_CONFIG
34DDBerkeley.EDU
35
36# names for which we act as a local forwarding agent
37CF CS
38FF/etc/sendmail.cw
39
40# local UUCP connections, and our local uucp name
41SITECONFIG(uucp.ucbvax, ucbvax, U)
42
43# remote UUCP connections, and the machine they are on
44SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W)
45
46SITECONFIG(uucp.cogsci, cogsci.Berkeley.EDU, X)
47
48LOCAL_RULE_3
49# map old UUCP names into Internet names
50UUCPSMTP(bellcore,	bellcore.com)
51UUCPSMTP(decvax,	decvax.dec.com)
52UUCPSMTP(decwrl,	decwrl.dec.com)
53UUCPSMTP(hplabs,	hplabs.hp.com)
54UUCPSMTP(lbl-csam,	lbl-csam.arpa)
55UUCPSMTP(pur-ee,	ecn.purdue.edu)
56UUCPSMTP(purdue,	purdue.edu)
57UUCPSMTP(research,	research.att.com)
58UUCPSMTP(sdcarl,	sdcarl.ucsd.edu)
59UUCPSMTP(sdcsvax,	sdcsvax.ucsd.edu)
60UUCPSMTP(ssyx,		ssyx.ucsc.edu)
61UUCPSMTP(sun,		sun.com)
62UUCPSMTP(ucdavis,	ucdavis.ucdavis.edu)
63UUCPSMTP(ucivax,	ics.uci.edu)
64UUCPSMTP(ucla-cs,	cs.ucla.edu)
65UUCPSMTP(ucla-se,	seas.ucla.edu)
66UUCPSMTP(ucsbcsl,	ucsbcsl.ucsb.edu)
67UUCPSMTP(ucscc,		c.ucsc.edu)
68UUCPSMTP(ucsd,		ucsd.edu)
69UUCPSMTP(ucsfcgl,	cgl.ucsf.edu)
70UUCPSMTP(unmvax,	unmvax.cs.unm.edu)
71UUCPSMTP(uwvax,		spool.cs.wisc.edu)
72
73LOCAL_RULE_0
74
75# make sure we handle the local domain as absolute
76R$* <  @ $* $D > $*		$: $1 < @ $2 $D . > $3
77
78# handle names we forward for as though they were local, so we will use UDB
79R< @ $=F . $D . > : $*		$@ $>7 $2		@here:... -> ...
80R< @ $D . > : $*		$@ $>7 $1		@here:... -> ...
81R$* $=O $* < @ $=F . $D . >	$@ $>7 $1 $2 $3		...@here -> ...
82R$* $=O $* < @ $D . >		$@ $>7 $1 $2 $3		...@here -> ...
83
84R$* < @ $=F . $D . >		$#local $: $1		use UDB
85
86# handle local UUCP connections in the Berkeley.EDU domain
87R$+<@cnmat.$D . >		$#uucp$@cnmat$:$1
88R$+<@cnmat.CS.$D . >		$#uucp$@cnmat$:$1
89R$+<@craig.$D . >		$#uucp$@craig$:$1
90R$+<@craig.CS.$D . >		$#uucp$@craig$:$1
91