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