Oh GACK! src-clean doesn't quite work that easily since cleandist rebuilds the
[unix-history] / usr.sbin / sendmail / cf / cf / ucbvax.cf
CommitLineData
15637ed4
RG
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.39 (Berkeley) 1/3/89
12#
13# built by phil on Wed Jan 25 11:47:20 PST 1989
14# in /usr/src/local/nettables/sendmail.cf/cf on monet.Berkeley.EDU
15#
16############################################################
17############################################################
18#####
19##### SENDMAIL CONFIGURATION FILE
20#####
21##### This one is the big daddy. There is no "upstairs"
22##### to bounce a message to -- except perhaps the arpanet.
23#####
24#####
25############################################################
26############################################################
27
28
29
30######################
31### local info ###
32######################
33
34# internet hostnames
35Cwucbvax vax k UCB-VAX Berkeley UCB-C70 UCB
36
37# UUCP hostnames
38DUucbvax
39CUucbvax
40
41# local UUCP connections
42CV Padova
43CV Shasta
44CV alice
45CV allegra
46CV amdcad
47CV anlams
48CV att
49CV attunix
50CV avsd
51CV bellcore bellcor
52CV calma
53CV cithep
54CV craylab
55CV decusj
56CV decvax
57CV decwrl
58CV dssovax
59CV eagle
60CV ecovax
61CV floyd
62CV geoff
63CV harpo
64CV ho3e2
65CV hpda
66CV hplabs
67CV ibmsupt ibmuupa ibmpa
68CV iiasa70
69CV imagen
70CV isunix menlo70
71CV kentmth
72CV kentvax
73CV lbl-csam lbl-csa
74CV lime
75CV mebazf
76CV molbio
77CV mothra
78CV mseonyx
79CV mtxinu
80CV nbires
81CV pixar
82CV pur-ee
83CV purdue
84CV pwbd
85CV research researc
86CV sdcarl
87CV sdcsvax
88CV sftig
89CV sgi olympus
90CV sii
91CV srivisi
92CV ssyx
93CV sun
94CV tektronix tektron
95CV tolerant toleran
96CV trwrb
97CV twg
98CV ucbcad
99CV ucdavis
100CV ucivax
101CV ucla-se ucla-cs
102CV ucsbcsl ucsbhub
103CV ucscc
104CV ucsd
105CV ucsfcgl
106CV ucsfmis
107CV ulysses
108CV unisoft
109CV unmvax
110CV usenix
111CV uw
112CV uwvax
113CV vax135
114CV voder
115CV wheps
116CV whuxle
117CV whuxlj
118CV xprin
119CV zehntel
120CV zilog
121
122# UUCP connections on ucbarpa
123DWucbarpa.Berkeley.EDU
124CW endotsew
125CW fateman
126CW franz
127CW interlan
128CW metron
129
130# UUCP connections on ucbcad
131DXcad.Berkeley.EDU
132CX a
133CX ames
134CX analog
135CX ardent dana
136CX arthur
137CX biosys
138CX black
139CX boulder
140CX evans
141CX harpo
142CX harris
143CX hpda
144CX hpsrla
145CX island
146CX jupiter
147CX masscomp masscom
148CX nsc
149CX oakhill
150CX octal
151CX sda
152CX stellar
153CX teklds
154CX tektronix tektron
155CX binky tonto
156CX toshiba tsb0
157CX ucbcad
158CX ucbvax
159CX voder
160CX vogon
161
162# UUCP connections on cogsci
163DYcogsci.Berkeley.EDU
164CY capmkt
165CY contessa
166CY emind
167CY hoptoad
168CY nkainc
169CY well
170CY ferdy
171
172# known uucp connections with a smart uucp
173CMdecvax
174
175# we have full sendmail support here
176Oa
177
178#############################
179### Setup Information ###
180#############################
181
182
183######################
184# General Macros #
185######################
186
187# local domain name
188# YOUR DOMAIN NAME GOES HERE!
189DDYOUR_DOMAIN_NAME
190
191
192
193
194
195
196
197
198
199# my official hostname
200Dj$w
201
202
203
204###############
205# Classes #
206###############
207
208# Internal ("fake") domains that we use in rewriting
209CIUUCP BITNET CSNET
210
211
212
213############################################################
214############################################################
215#####
216##### BERKELEY HOSTS REGISTERED WITH THE NIC
217#####
218############################################################
219############################################################
220
221
222CNbach ucbbach
223CNbizet ucbbizet
224CNcad ucbcad
225CNdegas ucbdegas
226CNeast ucbeast
227CNernie ucbernie
228CNesvax ucbesvax
229CNjade ucbjade
230CNji ucbji
231CNmike ucbmike
232CNmonet ucbmonet
233CNpostgres
234CNrenoir ucbrenoir
235CNucbarpa
236CNucbvax
237CNviolet ucbviolet
238
239
240######################
241# Version Number #
242######################
243
244DZ1.34
245
246
247######################
248# Special macros #
249######################
250
251# my name
252DnMAILER-DAEMON
253# UNIX header format
254DlFrom $g $d
255# delimiter (operator) characters
256Do.:%@!^=/[]
257# format of a total name
258Dq$g$?x ($x)$.
259# SMTP login message
260De$j Sendmail $v/$Z ready at $b
261
262###############
263# Options #
264###############
265
266# location of alias file
267OA/usr/lib/aliases
268# wait up to ten minutes for alias file rebuild
269Oa10
270# substitution for space (blank) characters
271OB.
272# (don't) connect to "expensive" mailers
273#Oc
274# default delivery mode (deliver in background)
275Odbackground
276# temporary file mode
277OF0600
278# default GID
279Og1
280# location of help file
281OH/usr/lib/sendmail.hf
282# log level
283OL9
284# default network name
285ONARPA
286# default messages to old style
287Oo
288# queue directory
289OQ/usr/spool/mqueue
290# read timeout -- violates protocols
291Or2h
292# status file
293OS/usr/lib/sendmail.st
294# queue up everything before starting transmission
295Os
296# default timeout interval
297OT3d
298# time zone names (V6 only)
299OtPST,PDT
300# default UID
301Ou1
302# wizard's password
303OW*
304# load average at which we just queue messages
305Ox8
306# load average at which we refuse connections
307OX12
308
309###########################
310# Message precedences #
311###########################
312
313Pfirst-class=0
314Pspecial-delivery=100
315Pbulk=-60
316Pjunk=-100
317
318#####################
319# Trusted users #
320#####################
321
322Troot
323Tdaemon
324Tuucp
325
326#########################
327# Format of headers #
328#########################
329
330H?P?Return-Path: <$g>
331HReceived: $?sfrom $s $.by $j ($v/$Z)
332 id $i; $b
333H?D?Resent-Date: $a
334H?D?Date: $a
335H?F?Resent-From: $q
336H?F?From: $q
337H?x?Full-Name: $x
338HSubject:
339# HPosted-Date: $a
340# H?l?Received-Date: $b
341H?M?Resent-Message-Id: <$t.$i@$j>
342H?M?Message-Id: <$t.$i@$j>
343
344
345
346###########################
347### Rewriting Rules ###
348###########################
349
350
351################################
352# Sender Field Pre-rewriting #
353################################
354S1
355#R$*<$*>$* $1$2$3 defocus
356
357###################################
358# Recipient Field Pre-rewriting #
359###################################
360S2
361#R$*<$*>$* $1$2$3 defocus
362
363
364
365#################################
366# Final Output Post-rewriting #
367#################################
368S4
369
370R@ $@ handle <> error addr
371
372# resolve numeric addresses to name if possible
373R$*<@[$+]>$* $:$1<@$[[$2]$]>$3 lookup numeric internet addr
374
375# externalize local domain info
376R$*<$+>$* $1$2$3 defocus
377R@$+:@$+:$+ @$1,@$2:$3 <route-addr> canonical
378
379# UUCP must always be presented in old form
380R$+@$-.UUCP $2!$1 u@h.UUCP => h!u
381
382# delete duplicate local names
383R$+%$=w@$=w $1@$w u%host@host => u@host
384R$+%$=w@$=w.$D $1@$w u%host@host => u@host
385
386
387# addition to Post-rewrite Rule
388R$+%$=w@$=w.EDU $1@$w u%UCB@UCB.edu => u@UCB.berk.edu
389R$+%$=w@$=w.$=w.EDU $1@$w u%UCB@UCB.berk.edu => u@UCB
390
391
392###########################
393# Name Canonicalization #
394###########################
395S3
396
397# handle "from:<>" special case
398R$*<>$* $@@ turn into magic token
399
400# basic textual canonicalization -- note RFC733 heuristic here
401R$*<$*<$*<$+>$*>$*>$* $4 3-level <> nesting
402R$*<$*<$+>$*>$* $3 2-level <> nesting
403R$*<$+>$* $2 basic RFC821/822 parsing
404
405# make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone later
406R@$+,$+ @$1:$2 change all "," to ":"
407
408# localize and dispose of route-based addresses
409R@$+:$+ $@$>6<@$1>:$2 handle <route-addr>
410
411# more miscellaneous cleanup
412R$+ $:$>8$1 host dependent cleanup
413R$+:$*;@$+ $@$1:$2;@$3 list syntax
414R$+:$*; $@$1:$2; list syntax
415R$+@$+ $:$1<@$2> focus on domain
416R$+<$+@$+> $1$2<@$3> move gaze right
417R$+<@$+> $@$>6$1<@$2> already canonical
418
419# convert old-style addresses to a domain-based address
420R$+^$+ $1!$2 convert ^ to !
421R$-!$+ $@$>6$2<@$1.UUCP> resolve uucp names
422R$+.$-!$+ $@$>6$3<@$1.$2> domain uucps
423R$+!$+ $@$>6$2<@$1.UUCP> uucp subdomains
424R$+%$+ $:$>9$1%$2 user%host
425R$+<@$+> $@$>6$1<@$2> already canonical
426R$-.$+ $@$>6$2<@$1> host.user
427
428
429#################################
430# special local conversions #
431#################################
432
433S6
434R$*<@$=w>$* $:$1<@$w>$3 get into u@$w form
435R$*<@$=w.$D>$* $:$1<@$w>$3
436R$*<@$=U.UUCP>$* $:$1<@$w>$3
437
438################################
439# Change rightmost % to @. #
440################################
441
442S9
443R$*%$* $1@$2 First make them all @'s.
444R$*@$*@$* $1%$2@$3 Undo all but the last.
445R$*@$* $@$1<@$2> Put back the brackets.
446
447
448
449############################################################
450############################################################
451#####
452##### Provide Backward Compatibility
453#####
454############################################################
455############################################################
456
457#####################################################
458# General code to convert back to old style names #
459#####################################################
460S5
461
462R$+<@$w> $1 strip host
463R$+<@$-.UUCP> $2!$1 u@host.UUCP => host!u
464
465
466###################
467### Mailers ###
468###################
469
470
471############################################################
472############################################################
473#####
474##### Local and Program Mailer specification
475#####
476############################################################
477############################################################
478
479Mlocal, P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u
480Mprog, P=/bin/sh, F=lsDFMe, S=10, R=20, A=sh -c $u
481
482S10
483R@ $n errors to mailer-daemon
484
485
486
487############################################################
488############################################################
489#####
490##### UUCP Smart Mailer specification
491##### (handles multiple recipients)
492#####
493############################################################
494############################################################
495
496
497
498Msuucp, P=/usr/bin/uux, F=mDFMhuU, S=13, R=23, M=100000,
499 A=uux - -r $h!rmail ($u)
500
501
502
503
504############################################################
505############################################################
506#####
507##### UUCP Mailer specification
508#####
509############################################################
510############################################################
511
512
513Muucp, P=/usr/bin/uux, F=DFMhuU, S=13, R=23, M=100000,
514 A=uux - -r -z -a$f -gC $h!rmail ($u)
515
516S13
517R$+ $:$>5$1 convert to old style
518R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
519R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
520R$+<@$+> $2!$1 uucpize (no @'s in addr)
521R$w!$+ $1 strip local name
522R$+ $:$U!$1 stick on our host name
523R$=U!$-%$- $:$1!$2@$3.$D ucbvax!user@host.domain
524
525S23
526R$+ $:$>5$1 convert to old style
527R$*<@$=w>$* $1<@$w>$2 resolve abbreviations
528R$*<@$->$* $1<@$2.$D>$3 resolve abbreviations
529R$+<@$w> $U!$1 a!b@here -> here!a!b
530R$=U!$+ $2 here!a!b -> a!b
531# sanity ... should not happen.
532R$=U.$D!$+ $2 strip local name.domain
533
534
535############################################################
536############################################################
537#####
538##### SMTP UUCP Mailer specification
539#####
540##### This mailer sends UUCP traffic over an SMTP connection.
541##### Obviously, we only want to do this with UUCP hosts with
542##### whom we have SMTP connectivity. The idea here is to
543##### avoid having to double queue (once for sendmail, once
544##### for UUCP) when there's no need. Since we need to
545##### preserve uucp-ness (e.g., bangs), we use the UUCP mailer
546##### rewriting rulesets.
547#####
548############################################################
549############################################################
550
551Msmtpuucp, P=[IPC], F=mDFMueXLC, S=13, R=23, A=IPC $h, E=\r\n
552
553
554
555
556############################################################
557############################################################
558#####
559##### Internet SMTP Mailer specification
560#####
561##### Messages processed by this specification are assumed to leave
562##### the local domain -- hence, they must be canonical according to
563##### RFC822 etc. This means that machines not registered with
564##### the NIC must be hidden behind our Internet relay.
565#####
566############################################################
567############################################################
568
569Mtcp, P=[IPC], F=mDFMueXLC, S=14, R=24, A=IPC $h, E=\r\n
570
571S14
572
573# pass <route-addr>'s through
574R<@$+>$* $@<@$[$1$]>$2 resolve <route-addr>
575
576# map colons to dots everywhere
577R$*:$* $1.$2 map colons to dots
578
579# output local host in user@host.domain syntax
580R$- $1<@$w> user w/o host
581R$+<@$=w> $:$1<@$w> this host
582R$+<@$-> $:$1<@$[$2$]> canonicalize into dom
583R$+<@$-> $:$1<@$2.$D> if nameserver fails
584R$+<@$=N.$D> $@$1<@$2.$D> nic-reg hosts are ok
585R$+<@$*.$D> $@$1%$2.$D<@$A> else -> u%h@gateway
586
587# if not local, and not a "fake" domain, ask the nameserver
588R$+<@$+.$~I> $@$1<@$[$2.$3$]> user@host.domain
589R$+<@[$+]> $@$1<@[$2]> already ok
590
591# output internal ("fake") domains as "user%host@relay"
592
593
594
595R$+<@$+.UUCP> $@$2!$1<@$w> user@host.UUCP
596
597
598S24
599
600# put in <> kludge
601R$*<$*>$* $1$2$3 defocus
602R$* $:$>3$1 now canonical form
603
604# pass <route-addr>'s through
605R<@$+>$* $@<@$[$1$]>$2 resolve <route-addr>
606
607# map colons to dots everywhere.....
608R$*:$* $1.$2 map colons to dots
609
610# output local host in user@host.domain syntax
611R$- $1<@$w> user w/o host
612R$+<@$=w> $:$1<@$w> this host
613R$+<@$-> $:$1<@$[$2$]> canonicalize into dom
614R$+<@$-> $:$1<@$2.$D> if nameserver fails
615R$+<@$=N.$D> $@$1<@$2.$D> nic-reg hosts are ok
616R$+<@$*.$D> $@$1%$2.$D<@$A> else -> u%h@gateway
617
618# if not local, and not a "fake" domain, ask the nameserver
619R$+<@$+.$~I> $@$1<@$[$2.$3$]> user@host.domain
620R$+<@[$+]> $@$1<@[$2]> already ok
621
622# Hide fake domains behind relays
623
624
625
626R$+<@$+.UUCP> $@$2!$1 user@host.UUCP
627
628
629
630############################################################
631############################################################
632#####
633##### Local Domain SMTP Mailer specification
634#####
635##### Messages processed by this specification are assumed to remain
636##### the local domain. Hence, they can refer to hosts that are
637##### not registered in the NIC host table.
638#####
639############################################################
640############################################################
641
642Mtcpld, P=[IPC], F=mDFMueXLC, S=17, R=27, A=IPC $h, E=\r\n
643
644S17
645
646# cleanup forwarding a bit
647R$*<$*>$* $1$2$3 defocus
648R$* $:$>3$1 canonicalize
649R$*%$*<@$w> $:$>9$1%$2 user%localhost@localdomain
650
651# pass <route-addr>'s through
652R<@$+>$* $@<@$[$1$]>$2 resolve <route-addr>
653
654# map colons to dots everywhere
655R$*:$* $1.$2 map colons to dots
656
657# output local host as user@host.domain
658R$- $@$1<@$w> user w/o host
659R$+<@$w> $@$1<@$w> this host
660R$+<@$=w> $@$1<@$w> or an alias
661R$+<@$-> $:$1<@$[$2$]> ask nameserver
662R$+<@$w> $@$1<@$w> this host
663R$+<@$-> $@$1<@$2.$D> if nameserver fails
664
665# if not local, and not a "fake" domain, ask the nameserver
666R$+<@$+.$~I> $@$1<@$[$2.$3$]> user@host.domain
667R$+<@[$+]> $@$1<@[$2]> already ok
668
669# output fake domains as user%fake@relay
670
671
672
673R$+<@$+.UUCP> $@$2!$1<@$w> user@host.UUCP
674
675
676S27
677
678# cleanup
679R$*<$*>$* $1$2$3 defocus
680R$* $:$>3$1 now canonical form
681R$*%$*<@$w> $:$>9$1%$2 user%localhost@localdomain
682
683# pass <route-addr>'s through
684R<@$+>$* $@<@$[$1$]>$2 resolve <route-addr>
685
686# map colons to dots everywhere
687R$*:$* $1.$2 map colons to dots
688
689# output local host as user@host.domain
690R$- $@$1<@$w> user w/o host
691R$+<@$w> $@$1<@$w> this host
692R$+<@$=w> $@$1<@$w> or an alias
693R$+<@$-> $:$1<@$[$2$]> ask nameserver
694R$+<@$w> $@$1<@$w> this host
695R$+<@$-> $@$1<@$2.$D> if nameserver fails
696
697# if not local, and not a "fake" domain, ask the nameserver
698R$+<@$+.$~I> $@$1<@$[$2.$3$]> user@host.domain
699R$+<@[$+]> $@$1<@[$2]> already ok
700
701# output fake domains as user%fake@relay
702
703
704
705R$+<@$+.UUCP> $@$2!$1 user@host.UUCP
706
707
708
709#####################
710### Rule Zero ###
711#####################
712
713
714############################################################
715############################################################
716#####
717##### RULESET ZERO PREAMBLE
718#####
719##### The beginning of ruleset zero is constant through all
720##### configurations.
721#####
722############################################################
723############################################################
724
725S0
726
727# first make canonical
728R$*<$*>$* $1$2$3 defocus
729R$+ $:$>3$1 make canonical
730
731# handle special cases
732R$*<@[$+]>$* $:$1<@$[[$2]$]>$3 numeric internet addr
733R$*<@[$+]>$* $#tcp$@[$2]$:$1@[$2]$3 numeric internet spec
734R$+ $:$>6$1
735R$-<@$w> $#local$:$1
736R@ $#error$:Invalid address handle <> form
737
738# canonicalize using the nameserver if not internal domain
739R$*<@$*.$~I>$* $:$1<@$[$2.$3$]>$4
740R$*<@$->$* $:$1<@$[$2$]>$3
741R$*<@$->$* $:$1<@$2.$D>$3 if nameserver fails
742
743# now delete the local info
744R<@$w>:$* $@$>0$1 @here:... -> ...
745R$*<@$w> $@$>0$1 ...@here -> ...
746
747##################################
748# End of ruleset zero preamble #
749##################################
750
751
752################################################
753### Machine dependent part of ruleset zero ###
754################################################
755
756# resolve SMTP UUCP connections
757
758R<@bellcore.uucp>:$+ $#smtpuucp$@bellcore.com$:$2
759R$*<@bellcore.uucp> $#smtpuucp$@bellcore.com$:$1
760R<@decvax.uucp>:$+ $#smtpuucp$@decvax.dec.com$:$2
761R$*<@decvax.uucp> $#smtpuucp$@decvax.dec.com$:$1
762R<@decwrl.uucp>:$+ $#smtpuucp$@decwrl.dec.com$:$2
763R$*<@decwrl.uucp> $#smtpuucp$@decwrl.dec.com$:$1
764R<@hplabs.uucp>:$+ $#smtpuucp$@hplabs.hp.com$:$2
765R$*<@hplabs.uucp> $#smtpuucp$@hplabs.hp.com$:$1
766R<@lbl-csam.uucp>:$+ $#smtpuucp$@lbl-csam.arpa$:$2
767R$*<@lbl-csam.uucp> $#smtpuucp$@lbl-csam.arpa$:$1
768R<@pur-ee.uucp>:$+ $#smtpuucp$@ecn.purdue.edu$:$2
769R$*<@pur-ee.uucp> $#smtpuucp$@ecn.purdue.edu$:$1
770R<@purdue.uucp>:$+ $#smtpuucp$@purdue.edu$:$2
771R$*<@purdue.uucp> $#smtpuucp$@purdue.edu$:$1
772R<@sdcarl.uucp>:$+ $#smtpuucp$@sdcarl.ucsd.edu$:$2
773R$*<@sdcarl.uucp> $#smtpuucp$@sdcarl.ucsd.edu$:$1
774R<@sun.uucp>:$+ $#smtpuucp$@sun.com$:$2
775R$*<@sun.uucp> $#smtpuucp$@sun.com$:$1
776R<@ucbcad.uucp>:$+ $#smtpuucp$@cad.berkeley.edu$:$2
777R$*<@ucbcad.uucp> $#smtpuucp$@cad.berkeley.edu$:$1
778R<@ucdavis.uucp>:$+ $#smtpuucp$@ucdavis.ucdavis.edu$:$2
779R$*<@ucdavis.uucp> $#smtpuucp$@ucdavis.ucdavis.edu$:$1
780R<@ucla-se.uucp>:$+ $#smtpuucp$@seas.ucla.edu$:$2
781R$*<@ucla-se.uucp> $#smtpuucp$@seas.ucla.edu$:$1
782R<@ucscc.uucp>:$+ $#smtpuucp$@c.ucsc.edu$:$2
783R$*<@ucscc.uucp> $#smtpuucp$@c.ucsc.edu$:$1
784R<@ucsfcgl.uucp>:$+ $#smtpuucp$@cgl.ucsf.edu$:$2
785R$*<@ucsfcgl.uucp> $#smtpuucp$@cgl.ucsf.edu$:$1
786R<@uwvax.uucp>:$+ $#smtpuucp$@spool.cs.wisc.edu$:$2
787R$*<@uwvax.uucp> $#smtpuucp$@spool.cs.wisc.edu$:$1
788
789
790# resolve local UUCP links
791R<@$=V.UUCP>:$+ $#uucp$@$1$:$1:$2 @host.UUCP: ...
792R$+<@$=V.UUCP> $#uucp$@$2$:$1 user@host.UUCP
793
794# resolve explicit arpanet names (to avoid with machine name "arpa" below)
795R$*<@$*$-.ARPA>$* $#tcp$@$3.ARPA$:$1<@$2$3.ARPA>$4 user@domain.ARPA
796
797# resolve fake top level domains by forwarding to other hosts
798
799
800
801
802# resolve non-local UUCP links
803R$*<@$=W.UUCP>$* $#tcpld$@$W$:$1<@$2.UUCP>$3 user@host.UUCP
804R$*<@$=X.UUCP>$* $#tcpld$@$X$:$1<@$2.UUCP>$3 user@host.UUCP
805R$*<@$=Y.UUCP>$* $#tcpld$@$Y$:$1<@$2.UUCP>$3 user@host.UUCP
806
807# this uucp stuff is wrong for domain uucp addresses
808# - we should pass the whole "host.domain" to uucp so it can
809# find the best route. But that depends on a uucp router
810# which doesn't exist here yet, so for now, we'll settle for
811# trying to route to the domain (pretending its a host).
812# Suitable L.sys entries can make this work. If it doesn't
813# then returned mail will just say "dom unknown", which is true ..
814
815# resolve smart UUCP links
816R<@$=M.$-.UUCP>:$+ $#suucp$@$2$:@$1.$2.UUCP:$3 @host.domain.UUCP: ...
817R<@$=M.UUCP>:$+ $#suucp$@$1$:$2 @host.UUCP: ...
818R$+<@$=M.$-.UUCP> $#suucp$@$3$:$1@$2.$3.UUCP user@host.domain.UUCP
819R$+<@$=M.UUCP> $#suucp$@$2$:$1 user@host.UUCP
820
821# local domain sites
822R$*<@$*.$D>$* $#tcpld$@$2.$D$:$1<@$2.$D>$3 user@host.our.domain
823R$*<@$->$* $#tcpld$@$2.$D$:$1<@$2.$D>$3 user@host
824R$*<@$-.UUCP>$* $#tcpld$@$2.$D$:$1<@$2.$D>$3 user@host.UUCP
825
826# other non-local names will be kicked upstairs
827R$*<@$+>$* $#tcp$@$2$:$1<@$2>$3 user@some.where
828
829# remaining names must be local
830R$+ $#local$:$1 everything else
831
832########################################
833### Host dependent address cleanup ###
834########################################
835
836S8
837R$*$=U!$+@$+ $3@$4 drop uucp forward