Annotation of 43BSD/usr.lib/sendmail/cf.hosttable/csbase.m4, revision 1.1.1.1

1.1       root        1: divert(10)
                      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: #      @(#)csbase.m4   5.16 (Berkeley) 11/4/85
                     12: #
                     13: divert(0)
                     14: #################################################
                     15: #
                     16: #      General configuration information
                     17: #
                     18: #################################################
                     19: 
                     20: ######################
                     21: #   General Macros   #
                     22: ######################
                     23: 
                     24: # our arpanet gateway
                     25: DABerkeley.EDU
                     26: CABerkeley UCB ucbc70 c70 UCB-C70 u UCB-VAX ucbvax
                     27: 
                     28: # local domain names
                     29: DDBERKELEY.EDU
                     30: CDBERKELEY UCB ucbc70 c70 ucb-c70 u UCB-VAX ucbvax
                     31: 
                     32: # major relay host
                     33: DRUCBVAX
                     34: CRucbvax vax k
                     35: 
                     36: # my official hostname
                     37: Dj$w
                     38: 
                     39: # known SMTP/ethernet hosts (this domain only) -- only $R need be complete
                     40: 
                     41: CSucbarmstrong armstrong
                     42: CSucbarpa arpa
                     43: CSucbbach bach ucbstatvax statvax
                     44: CSucbbass bass
                     45: CSucbbell bell
                     46: CSucbbizet bizet
                     47: CSucbbob bob
                     48: CSucbbrahms brahms mathstat
                     49: CSucbbud bud
                     50: CSucbbuddy buddy
                     51: CSucbcad cad cad-a
                     52: CSucbcalder calder
                     53: CSucbcartan cartan
                     54: CSucbchip chip
                     55: CSucbcogsci cogsci
                     56: CSucbcorona corona
                     57: CSucbcory cory
                     58: CSucbdab dab
                     59: CSucbdali dali
                     60: CSucbdavinci davinci
                     61: CSucbdavis davis
                     62: CSucbdean dean
                     63: CSucbdeforest deforest
                     64: CSucbdegas degas
                     65: CSucbdim dim
                     66: CSucbdorothy dorothy
                     67: CSucbear ear
                     68: CSucbeast east beast
                     69: CSucbedison edison
                     70: CSucbernie ernie
                     71: CSucbesvax esvax
                     72: CSucbeuler euler
                     73: CSucbfranklin franklin
                     74: CSucbfranny franny
                     75: CSucbheine heine
                     76: CSucbholden holden
                     77: CSucbhuffman huffman
                     78: CSucbic ic ucbic-ec ic-ec cad-b cad-ic
                     79: CSucbicw icw ucbicw-ec icw-ec cad-c cad-icw
                     80: CSucbimage 
                     81: CSucbingres ingres
                     82: CSucbjan jan
                     83: CSucbjason jason
                     84: CSucbji ji
                     85: CSucbjoule joule
                     86: CSucbkepler kepler
                     87: CSucbkim kim
                     88: CSucbmarconi marconi
                     89: CSucbmatisse matisse
                     90: CSucbmaxwell maxwell
                     91: CSucbmedea medea
                     92: CSucbmerlin merlin
                     93: CSucbmike mike
                     94: CSucbmiro miro
                     95: CSucbmolson molson
                     96: CSucbmonet monet
                     97: CSucbmote mote
                     98: CSucbnewton newton
                     99: CSucbnyquist nyquist
                    100: CSucbokeeffe okeeffe
                    101: CSucboz oz
                    102: CSucbrenoir renoir
                    103: CSucbrob rob
                    104: CSucbrobert robert
                    105: CSucbseymour seymour
                    106: CSucbshadow shadow
                    107: CSucbshannon shannon
                    108: CSucbsilvia silvia
                    109: CSucbtuborg tuborg
                    110: CSucbugs bugs ucbbugs ugs
                    111: CSucbvangogh vangogh
                    112: CSucbvax
                    113: CSucbweyl weyl
                    114: CSucbzeus zeus
                    115: CSucbzooey zooey
                    116: CSucbzworykin zworykin
                    117: 
                    118: # known top-level domains
                    119: CTLOCAL ARPA EDU GOV COM MIL
                    120: CTUUCP BITNET CSNET DEC
                    121: 
                    122: include(base.m4)
                    123: 
                    124: #######################
                    125: #   Rewriting rules   #
                    126: #######################
                    127: 
                    128: ##### special local conversions
                    129: S6
                    130: R$*<@$*$=D>$*          $1<@$2LOCAL>$4                  convert local domain
                    131: R$*<@$*$=D.ARPA>$*     $1<@$2LOCAL>$4
                    132: R$*<@$*$=D.EDU>$*      $1<@$2LOCAL>$4
                    133: R$+%$+<@LOCAL>         $>9$1%$2                        Hack for % syntax.
                    134: R$*<@$+.$=T.$=T>$*     $1<@$2.$3>$5                    make UUCP top level
                    135: R$*<@$*$=C.$=T>$*      $1<@$2$3>$5                     adjust CC hosts (ucbvax)
                    136: R$*<@$*$=C>$*          $1<@$2$3.CC>$4                  tack on .CC temporarily
                    137: R$*<@$*$=S.UUCP>$*     $1<@$2$3.LOCAL>$4               trap [email protected]
                    138: R$*<@ucsfcgl.UUCP>$*   $1<@ucsf-cgl.ARPA>$2            ucsfcgl now on Internet
                    139: 
                    140: ################################
                    141: #   Change rightmost % to @.   
                    142: S9
                    143: R$*%$*                 $1@$2                           First make them all @'s
                    144: R$*@$*@$*              $1%$2@$3                        Undo all but the last.
                    145: R$*@$*                 $@$1<@$2>                       Put back the brackets.
                    146: #
                    147: ###############################
                    148: 
                    149: include(etherm.m4)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.