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