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