]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/sendmail/cf/cf/ucbvax.mc
unfinished sblive driver, playback/mixer only for now - not enabled in
[FreeBSD/FreeBSD.git] / contrib / sendmail / cf / cf / ucbvax.mc
1 divert(-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
23 divert(0)dnl
24 VERSIONID(`@(#)ucbvax.mc        8.11 (Berkeley) 5/19/1998')
25 OSTYPE(bsd4.3)
26 DOMAIN(CS.Berkeley.EDU)
27 MASQUERADE_AS(CS.Berkeley.EDU)
28 MAILER(local)
29 MAILER(smtp)
30 MAILER(uucp)
31 undefine(`UUCP_RELAY')dnl
32
33 LOCAL_CONFIG
34 DDBerkeley.EDU
35
36 # names for which we act as a local forwarding agent
37 CF CS
38 FF/etc/sendmail.cw
39
40 # local UUCP connections, and our local uucp name
41 SITECONFIG(uucp.ucbvax, ucbvax, U)
42
43 # remote UUCP connections, and the machine they are on
44 SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W)
45
46 SITECONFIG(uucp.cogsci, cogsci.Berkeley.EDU, X)
47
48 LOCAL_RULE_3
49 # map old UUCP names into Internet names
50 UUCPSMTP(bellcore,      bellcore.com)
51 UUCPSMTP(decvax,        decvax.dec.com)
52 UUCPSMTP(decwrl,        decwrl.dec.com)
53 UUCPSMTP(hplabs,        hplabs.hp.com)
54 UUCPSMTP(lbl-csam,      lbl-csam.arpa)
55 UUCPSMTP(pur-ee,        ecn.purdue.edu)
56 UUCPSMTP(purdue,        purdue.edu)
57 UUCPSMTP(research,      research.att.com)
58 UUCPSMTP(sdcarl,        sdcarl.ucsd.edu)
59 UUCPSMTP(sdcsvax,       sdcsvax.ucsd.edu)
60 UUCPSMTP(ssyx,          ssyx.ucsc.edu)
61 UUCPSMTP(sun,           sun.com)
62 UUCPSMTP(ucdavis,       ucdavis.ucdavis.edu)
63 UUCPSMTP(ucivax,        ics.uci.edu)
64 UUCPSMTP(ucla-cs,       cs.ucla.edu)
65 UUCPSMTP(ucla-se,       seas.ucla.edu)
66 UUCPSMTP(ucsbcsl,       ucsbcsl.ucsb.edu)
67 UUCPSMTP(ucscc,         c.ucsc.edu)
68 UUCPSMTP(ucsd,          ucsd.edu)
69 UUCPSMTP(ucsfcgl,       cgl.ucsf.edu)
70 UUCPSMTP(unmvax,        unmvax.cs.unm.edu)
71 UUCPSMTP(uwvax,         spool.cs.wisc.edu)
72
73 LOCAL_RULE_0
74
75 # make sure we handle the local domain as absolute
76 R$* <  @ $* $D > $*             $: $1 < @ $2 $D . > $3
77
78 # handle names we forward for as though they were local, so we will use UDB
79 R< @ $=F . $D . > : $*          $@ $>7 $2               @here:... -> ...
80 R< @ $D . > : $*                $@ $>7 $1               @here:... -> ...
81 R$* $=O $* < @ $=F . $D . >     $@ $>7 $1 $2 $3         ...@here -> ...
82 R$* $=O $* < @ $D . >           $@ $>7 $1 $2 $3         ...@here -> ...
83
84 R$* < @ $=F . $D . >            $#local $: $1           use UDB
85
86 # handle local UUCP connections in the Berkeley.EDU domain
87 R$+<@cnmat.$D . >               $#uucp$@cnmat$:$1
88 R$+<@cnmat.CS.$D . >            $#uucp$@cnmat$:$1
89 R$+<@craig.$D . >               $#uucp$@craig$:$1
90 R$+<@craig.CS.$D . >            $#uucp$@craig$:$1