|
|
1.1 ! root 1: ############################################################ ! 2: # ! 3: # Sendmail ! 4: # Copyright (c) 1983 Eric P. Allman ! 5: # Berkeley, California ! 6: # ! 7: # Copyright (c) 1983 Regents of the University of California. ! 8: # All rights reserved. The Berkeley software License Agreement ! 9: # specifies the terms and conditions for redistribution. ! 10: # ! 11: # @(#)ucbvax.mc 1.19 (Berkeley) 5/1/86 ! 12: # ! 13: ############################################################ ! 14: ############################################################ ! 15: ##### ! 16: ##### SENDMAIL CONFIGURATION FILE ! 17: ##### ! 18: ##### This one is the big daddy. There is no "upstairs" ! 19: ##### to bounce a message to -- except perhaps the arpanet. ! 20: ##### ! 21: ##### ! 22: ############################################################ ! 23: ############################################################ ! 24: ! 25: ! 26: ! 27: ###################### ! 28: ### local info ### ! 29: ###################### ! 30: ! 31: # internet hostname ! 32: Cwucbvax vax k UCB-VAX Berkeley UCB-C70 UCB LOCAL ! 33: ! 34: # override hostname to use ARPANET name ! 35: #DwUCB-VAX remove override if using named ! 36: ! 37: # uucp hostnames ! 38: DUucbvax ! 39: CUucbvax ! 40: ! 41: # berknet hostname ! 42: DBUCBVAX ! 43: ! 44: # UUCP connections on ucbcad ! 45: DWcad ! 46: CWjupiter ! 47: CWharris ! 48: CWhpda ! 49: CWmasscomp masscom ! 50: CWsda ! 51: CWtektronix ! 52: ! 53: # second alternate UUCP connection and hosts ! 54: DXkim ! 55: CXfranz ! 56: CXfateman ! 57: CXfisi ! 58: CXendotsew ! 59: CXfimus ! 60: ! 61: # third alternate UUCP connection ! 62: DYucboz ! 63: CYucbwodan wodan ! 64: CYCTSB ! 65: CYaloft ! 66: CYaltos86 ! 67: ! 68: # known uucp connections with a smart uucp ! 69: CMdecvax ! 70: ! 71: # we have full sendmail support here ! 72: Oa ! 73: ! 74: ############################# ! 75: ### Setup Information ### ! 76: ############################# ! 77: ! 78: include(nsmacros.m4) ! 79: include(nsclasses.m4) ! 80: include(cchosts.m4) ! 81: include(nicregistered.m4) ! 82: include(uucphosts.m4) ! 83: include(berkhosts.m4) ! 84: include(version.m4) ! 85: include(boilerplate.m4) ! 86: ! 87: ########################### ! 88: ### Rewriting Rules ### ! 89: ########################### ! 90: ! 91: include(prewriterule.m4) ! 92: include(postwriterule.m4) ! 93: ! 94: # addition to Post-rewrite Rule ! 95: R$+%$=w@$=w.EDU $1@$w u%[email protected] => [email protected] ! 96: R$+%$=w@$=w.$=w.EDU $1@$w u%[email protected] => u@UCB ! 97: ! 98: include(rule3.m4) ! 99: include(rule5.m4) ! 100: ! 101: ################### ! 102: ### Mailers ### ! 103: ################### ! 104: ! 105: include(localm.m4) ! 106: include(berkm.m4) ! 107: define(`m4UUCP',TRUE) ! 108: include(suucpm.m4) ! 109: include(uucpm.m4) ! 110: include(nstcpm.m4) ! 111: include(nstcpldm.m4) ! 112: ! 113: ##################### ! 114: ### Rule Zero ### ! 115: ##################### ! 116: ! 117: include(rule0.m4) ! 118: ! 119: ################################################ ! 120: ### Machine dependent part of ruleset zero ### ! 121: ################################################ ! 122: ! 123: # if host is not in the class Q (class of valid uucp hosts), then assume ! 124: # it is to be sent via tcp. ! 125: R$*<@$*$~Q.UUCP>$* $1<@$2$[$3$]>$4 ! 126: ! 127: # resolve explicitly arpanet names (to avoid with machine name "arpa" below) ! 128: R$*<@$*$-.ARPA>$* $#tcp$@$3.ARPA$:$1<@$2$3.ARPA>$4 [email protected] ! 129: ! 130: # resolve names destined for the computer center ! 131: R$*<@$=C.berkeley.edu>$* $#tcpld$@$C$:$1<@$2>$3 ! 132: R$*<@$=C>$* $#tcpld$@$C$:$1<@$2>$3 ! 133: R$*<@$+.CC>$* $#tcpld$@$C$:$1<@$2>$3 user@host ! 134: ! 135: # resolve berknet names ! 136: R<@$=Z>:$+ $#berk$@$1$:$2 @berkhost: ... ! 137: R$+<@$=Z> $#berk$@$2$:$1 user@berknethost ! 138: ! 139: # resolve explicit known foreign networks ! 140: R$*<@$+.Oz.au>$* $#[email protected]$:$1<@$2.OZ.AU>$3 [email protected] ! 141: R$*<@$+.BITNET>$* $#tcpld$@$C$:$1<@$2.BITNET>$3 [email protected] ! 142: R$*<@$+.CSNET>$* $#[email protected]$:$1<@$2.CSNET>$3 [email protected] ! 143: R$*<@$+.DEC>$* $#[email protected]$:$1<@$2.DEC>$3 [email protected] ! 144: R$*<@$+.MailNET>$* $#[email protected]$:$1<@$2.MailNET>$3 [email protected] ! 145: ! 146: # resolve nonlocal UUCP links ! 147: R$*<@$*$=W.UUCP>$* $#tcpld$@$W$:$1<@$2$3.UUCP>$4 [email protected] ! 148: R$*<@$*$=X.UUCP>$* $#tcpld$@$X$:$1<@$2$3.UUCP>$4 [email protected] ! 149: R$*<@$*$=Y.UUCP>$* $#tcpld$@$Y$:$1<@$2$3.UUCP>$4 [email protected] ! 150: R$*<@$*$=Y>$* $#tcpld$@$Y$:$1<@$2$3.UUCP>$4 [email protected] ! 151: ! 152: # this uucp stuff is wrong for domain uucp addresses ! 153: # - we should pass the whole "host.domain" to uucp so it can ! 154: # find the best route. But that depends on a uucp router ! 155: # which doesn't exist here yet, so for now, we'll settle for ! 156: # trying to route to the domain (pretending its a host). ! 157: # Suitable L.sys entries can make this work. If it doesn't ! 158: # then returned mail will just say "dom unknown", which is true .. ! 159: ! 160: # resolve smart UUCP links ! 161: R<@$=M.$-.UUCP>:$+ $#suucp$@$2$:@$1.$2.UUCP:$3 @host.domain.UUCP: ... ! 162: R<@$=M.UUCP>:$+ $#suucp$@$1$:$2 @host.UUCP: ... ! 163: R$+<@$=M.$-.UUCP> $#suucp$@$3$:$1@$2.$3.UUCP [email protected] ! 164: R$+<@$=M.UUCP> $#suucp$@$2$:$1 [email protected] ! 165: ! 166: # resolve local UUCP links (all others) ! 167: R<@$+.$-.UUCP>:$+ $#uucp$@$2$:@$1.$2.UUCP:$3 @host.domain.UUCP: ... ! 168: R<@$-.UUCP>:$+ $#uucp$@$1$:$2 @host.UUCP: ... ! 169: R$+<@$+.$-.UUCP> $#uucp$@$3$:$1@$2.$3.UUCP [email protected] ! 170: R$+<@$-.UUCP> $#uucp$@$2$:$1 [email protected] ! 171: ! 172: # resolve mmdf hack ! 173: R$+<@UDel-Test> $#tcpld$@ucbarpa$:$1@Udel-Test user.host@UDel-Relay ! 174: ! 175: # check for local that has had .berkeley.edu stripped by previous rule ! 176: R$*<@$->$* $1<@$2.$D>$3 user@host-within-this-domain ! 177: ! 178: # local domain sites ! 179: R$*<@$*.berkeley.edu>$* $#tcpld$@$2$:$1<@$2.$D>$3 [email protected] ! 180: ! 181: # other non-local names will be kicked upstairs ! 182: R$*<@$+>$* $#tcp$@$2$:$1<@$2>$3 [email protected] ! 183: ! 184: # remaining names must be local ! 185: R$+ $#local$:$1 everything else ! 186: ! 187: ######################################## ! 188: ### Host dependent address cleanup ### ! 189: ######################################## ! 190: ! 191: S8 ! 192: R$*$=U!$+@$+ $3@$4 drop uucp forward
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.