Commit | Line | Data |
---|---|---|
6f14531a | 1 | divert(-1) |
15637ed4 | 2 | # |
6f14531a RG |
3 | # Copyright (c) 1983 Eric P. Allman |
4 | # Copyright (c) 1988, 1993 | |
5 | # The Regents of the University of California. All rights reserved. | |
15637ed4 | 6 | # |
6f14531a RG |
7 | # Redistribution and use in source and binary forms, with or without |
8 | # modification, are permitted provided that the following conditions | |
9 | # are met: | |
10 | # 1. Redistributions of source code must retain the above copyright | |
11 | # notice, this list of conditions and the following disclaimer. | |
12 | # 2. Redistributions in binary form must reproduce the above copyright | |
13 | # notice, this list of conditions and the following disclaimer in the | |
14 | # documentation and/or other materials provided with the distribution. | |
15 | # 3. All advertising materials mentioning features or use of this software | |
16 | # must display the following acknowledgement: | |
17 | # This product includes software developed by the University of | |
18 | # California, Berkeley and its contributors. | |
19 | # 4. Neither the name of the University nor the names of its contributors | |
20 | # may be used to endorse or promote products derived from this software | |
21 | # without specific prior written permission. | |
15637ed4 | 22 | # |
6f14531a RG |
23 | # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
24 | # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
25 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
26 | # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
27 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
28 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
29 | # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
30 | # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
31 | # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
32 | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
33 | # SUCH DAMAGE. | |
15637ed4 | 34 | # |
15637ed4 | 35 | |
6f14531a RG |
36 | include(`../m4/cf.m4') |
37 | VERSIONID(`@(#)ucbvax.mc 8.1 (Berkeley) 6/7/93') | |
38 | OSTYPE(bsd4.3) | |
39 | DOMAIN(cs.hidden) | |
40 | FEATURE(notsticky) | |
41 | MAILER(local) | |
42 | MAILER(smtp) | |
43 | MAILER(uucp) | |
44 | undefine(`UUCP_RELAY')dnl | |
45 | DDBerkeley.EDU | |
46 | ||
47 | # names for which we act as a local forwarding agent | |
48 | CF CS | |
49 | FF/etc/sendmail.cw | |
50 | ||
51 | # local UUCP connections, and our local uucp name | |
52 | SITECONFIG(uucp.ucbvax, ucbvax, U) | |
53 | ||
54 | # remote UUCP connections, and the machine they are on | |
55 | SITECONFIG(uucp.ucbarpa, ucbarpa.Berkeley.EDU, W) | |
56 | ||
57 | SITECONFIG(uucp.cogsci, cogsci.Berkeley.EDU, X) | |
58 | ||
59 | LOCAL_RULE_3 | |
60 | # map old UUCP names into Internet names | |
61 | UUCPSMTP(bellcore, bellcore.com) | |
62 | UUCPSMTP(decvax, decvax.dec.com) | |
63 | UUCPSMTP(decwrl, decwrl.dec.com) | |
64 | UUCPSMTP(hplabs, hplabs.hp.com) | |
65 | UUCPSMTP(lbl-csam, lbl-csam.arpa) | |
66 | UUCPSMTP(pur-ee, ecn.purdue.edu) | |
67 | UUCPSMTP(purdue, purdue.edu) | |
68 | UUCPSMTP(research, research.att.com) | |
69 | UUCPSMTP(sdcarl, sdcarl.ucsd.edu) | |
70 | UUCPSMTP(sdcsvax, sdcsvax.ucsd.edu) | |
71 | UUCPSMTP(ssyx, ssyx.ucsc.edu) | |
72 | UUCPSMTP(sun, sun.com) | |
73 | UUCPSMTP(ucdavis, ucdavis.ucdavis.edu) | |
74 | UUCPSMTP(ucivax, ics.uci.edu) | |
75 | UUCPSMTP(ucla-cs, cs.ucla.edu) | |
76 | UUCPSMTP(ucla-se, seas.ucla.edu) | |
77 | UUCPSMTP(ucsbcsl, ucsbcsl.ucsb.edu) | |
78 | UUCPSMTP(ucscc, c.ucsc.edu) | |
79 | UUCPSMTP(ucsd, ucsd.edu) | |
80 | UUCPSMTP(ucsfcgl, cgl.ucsf.edu) | |
81 | UUCPSMTP(unmvax, unmvax.cs.unm.edu) | |
82 | UUCPSMTP(uwvax, spool.cs.wisc.edu) | |
83 | ||
84 | LOCAL_RULE_0 | |
85 | ||
86 | # make sure we handle the local domain as absolute | |
87 | R$* < @ $* $D > $* $: $1 < @ $2 $D . > $3 | |
88 | ||
89 | # handle names we forward for as though they were local, so we will use UDB | |
90 | R< @ $=F . $D . > : $* $@ $>7 $2 @here:... -> ... | |
91 | R< @ $D . > : $* $@ $>7 $1 @here:... -> ... | |
92 | R$* $=O $* < @ $=F . $D . > $@ $>7 $1 $2 $3 ...@here -> ... | |
93 | R$* $=O $* < @ $D . > $@ $>7 $1 $2 $3 ...@here -> ... | |
94 | ||
95 | R$* < @ $=F . $D . > $#local $: $1 use UDB | |
96 | ||
97 | # handle local UUCP connections in the Berkeley.EDU domain | |
98 | R$+<@cnmat.$D . > $#uucp$@cnmat$:$1 | |
99 | R$+<@cnmat.CS.$D . > $#uucp$@cnmat$:$1 | |
100 | R$+<@craig.$D . > $#uucp$@craig$:$1 | |
101 | R$+<@craig.CS.$D . > $#uucp$@craig$:$1 |