3 # Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
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.
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.
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.
25 VERSIONID(`$Id: ucbvax.mc,v 8.14 1999/02/07 07:26:05 gshapiro Exp $')
27 DOMAIN(CS.Berkeley.EDU)
28 MASQUERADE_AS(CS.Berkeley.EDU)
32 undefine(`UUCP_RELAY')dnl
37 # names for which we act as a local forwarding agent
41 # local UUCP connections, and our local uucp name
42 SITECONFIG(uucp.ucbvax, ucbvax, U)
44 # remote UUCP connections, and the machine they are on
45 SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W)
47 SITECONFIG(uucp.cogsci, cogsci.Berkeley.EDU, X)
50 # map old UUCP names into Internet names
51 UUCPSMTP(bellcore, bellcore.com)
52 UUCPSMTP(decvax, decvax.dec.com)
53 UUCPSMTP(decwrl, decwrl.dec.com)
54 UUCPSMTP(hplabs, hplabs.hp.com)
55 UUCPSMTP(lbl-csam, lbl-csam.arpa)
56 UUCPSMTP(pur-ee, ecn.purdue.edu)
57 UUCPSMTP(purdue, purdue.edu)
58 UUCPSMTP(research, research.att.com)
59 UUCPSMTP(sdcarl, sdcarl.ucsd.edu)
60 UUCPSMTP(sdcsvax, sdcsvax.ucsd.edu)
61 UUCPSMTP(ssyx, ssyx.ucsc.edu)
62 UUCPSMTP(sun, sun.com)
63 UUCPSMTP(ucdavis, ucdavis.ucdavis.edu)
64 UUCPSMTP(ucivax, ics.uci.edu)
65 UUCPSMTP(ucla-cs, cs.ucla.edu)
66 UUCPSMTP(ucla-se, seas.ucla.edu)
67 UUCPSMTP(ucsbcsl, ucsbcsl.ucsb.edu)
68 UUCPSMTP(ucscc, c.ucsc.edu)
69 UUCPSMTP(ucsd, ucsd.edu)
70 UUCPSMTP(ucsfcgl, cgl.ucsf.edu)
71 UUCPSMTP(unmvax, unmvax.cs.unm.edu)
72 UUCPSMTP(uwvax, spool.cs.wisc.edu)
76 # make sure we handle the local domain as absolute
77 R$* < @ $* $D > $* $: $1 < @ $2 $D . > $3
79 # handle names we forward for as though they were local, so we will use UDB
80 R< @ $=F . $D . > : $* $@ $>7 $2 @here:... -> ...
81 R< @ $D . > : $* $@ $>7 $1 @here:... -> ...
82 R$* $=O $* < @ $=F . $D . > $@ $>7 $1 $2 $3 ...@here -> ...
83 R$* $=O $* < @ $D . > $@ $>7 $1 $2 $3 ...@here -> ...
85 R$* < @ $=F . $D . > $#local $: $1 use UDB
87 # handle local UUCP connections in the Berkeley.EDU domain
88 R$+<@cnmat.$D . > $#uucp$@cnmat$:$1
89 R$+<@cnmat.CS.$D . > $#uucp$@cnmat$:$1
90 R$+<@craig.$D . > $#uucp$@craig$:$1
91 R$+<@craig.CS.$D . > $#uucp$@craig$:$1