Annotation of cci/usr/src/usr.lib/sendmail/cf/cad.cf, revision 1.1

1.1     ! root        1: ############################################################
        !             2: ############################################################
        !             3: #####
        !             4: #####          SENDMAIL CONFIGURATION FILE
        !             5: #####
        !             6: #####          @(#)cad.mc      4.2             8/21/83
        !             7: #####
        !             8: ############################################################
        !             9: ############################################################
        !            10: 
        !            11: 
        !            12: 
        !            13: ############################################################
        !            14: ###    local info
        !            15: ############################################################
        !            16: 
        !            17: # internet hostname
        !            18: Cwucbcad cad cad-a
        !            19: 
        !            20: # UUCP name
        !            21: DUucbcad
        !            22: CUucbcad
        !            23: 
        !            24: # UUCP hosts that we talk to
        !            25: CWteklabs
        !            26: CWtekcad
        !            27: CWtekcrd
        !            28: CWtektronix tektroni tektron
        !            29: CWboulder
        !            30: CWhpda
        !            31: CWwheps
        !            32: CWharpo
        !            33: CWchico
        !            34: CWmi-cec
        !            35: CWfortune
        !            36: CWvodervax voderva
        !            37: CWcaddyvax caddyva
        !            38: CWlbl-csam lbl-unix
        !            39: CWlblh
        !            40: CWmasscomp masscom
        !            41: CWpenelope penelop
        !            42: CWulysses
        !            43: CWjupiter
        !            44: 
        !            45: #################################################
        !            46: #
        !            47: #      General configuration information
        !            48: #
        !            49: #      @(#)csbase.m4   4.3             8/21/83
        !            50: #
        !            51: #################################################
        !            52: 
        !            53: ######################
        !            54: #   General Macros   #
        !            55: ######################
        !            56: 
        !            57: # our arpanet gateway
        !            58: DABerkeley
        !            59: CABerkeley UCB ucbc70 c70 UCB-C70 u UCB-VAX ucbvax
        !            60: 
        !            61: # local domain names
        !            62: DDBERKELEY
        !            63: CDBERKELEY UCB ucbc70 c70 ucb-c70 u UCB-VAX ucbvax
        !            64: 
        !            65: # major relay host
        !            66: DRUCBVAX
        !            67: CRucbvax vax k
        !            68: 
        !            69: # my official hostname
        !            70: Dj$w.ARPA
        !            71: 
        !            72: # known SMTP/ethernet hosts (this domain only) -- only $R need be complete
        !            73: CSucbarpa arpa
        !            74: CSucbbach bach ucbstatvax statvax
        !            75: CSucbbrahms brahms mathstat
        !            76: CSucbcad cad cad-a
        !            77: CSucbcalder calder
        !            78: CSucbcartan cartan
        !            79: CSucbcory cory ucbokeeffe okeeffe
        !            80: CSucbdali dali
        !            81: CSucbdegas degas
        !            82: # CSucbear ear
        !            83: CSucbernie ernie
        !            84: CSucbesvax esvax
        !            85: CSucbic ic ucbic-ec ic-ec cad-b cad-ic
        !            86: CSucbicw icw ucbicw-ec icw-ec cad-c cad-icw
        !            87: CSucbingres ingres
        !            88: CSucbkim kim
        !            89: CSucbmatisse matisse
        !            90: CSucbmedea medea
        !            91: CSucbmerlin merlin
        !            92: CSucbmiro miro
        !            93: CSucbmonet monet
        !            94: CSucboz oz
        !            95: CSucbvax
        !            96: CSucbweyl weyl
        !            97: 
        !            98: # known top-level domains
        !            99: CTLOCAL ARPA UUCP BITNET CC
        !           100: 
        !           101: ############################################################
        !           102: #
        !           103: #      General configuration information
        !           104: #
        !           105: #      This information is basically just "boiler-plate"; it must be
        !           106: #      there, but is essentially constant.
        !           107: #
        !           108: #      Information in this file should be independent of location --
        !           109: #      i.e., although there are some policy decisions made, they are
        !           110: #      not specific to Berkeley per se.
        !           111: #
        !           112: #              @(#)base.m4     4.3             8/30/83
        !           113: #
        !           114: ############################################################
        !           115: 
        !           116: #      @(#)version.m4  4.7             8/31/83
        !           117: 
        !           118: DV4.7
        !           119: 
        !           120: 
        !           121: ##########################
        !           122: ###   Special macros   ###
        !           123: ##########################
        !           124: 
        !           125: # my name
        !           126: DnMAILER-DAEMON
        !           127: # UNIX header format
        !           128: DlFrom $g  $d
        !           129: # delimiter (operator) characters
        !           130: Do.:%@!^=/[]
        !           131: # format of a total name
        !           132: Dq$g$?x ($x)$.
        !           133: # SMTP login message
        !           134: De$j Sendmail $v/$V ready at $b
        !           135: 
        !           136: # forwarding host -- redefine this if you can't talk to the relay directly
        !           137: DF$R
        !           138: 
        !           139: ###################
        !           140: ###   Options   ###
        !           141: ###################
        !           142: 
        !           143: # location of alias file
        !           144: OA/usr/lib/aliases
        !           145: # default delivery mode (deliver in background)
        !           146: Odbackground
        !           147: # (don't) connect to "expensive" mailers
        !           148: #Oc
        !           149: # temporary file mode
        !           150: OF0644
        !           151: # default GID
        !           152: Og1
        !           153: # location of help file
        !           154: OH/usr/lib/sendmail.hf
        !           155: # log level
        !           156: OL9
        !           157: # default messages to old style
        !           158: Oo
        !           159: # queue directory
        !           160: OQ/usr/spool/mqueue
        !           161: # read timeout -- violates protocols
        !           162: Or2h
        !           163: # status file
        !           164: OS/usr/lib/sendmail.st
        !           165: # queue up everything before starting transmission
        !           166: Os
        !           167: # default timeout interval
        !           168: OT3d
        !           169: # time zone names (V6 only)
        !           170: OtPST,PDT
        !           171: # default UID
        !           172: Ou1
        !           173: # wizard's password
        !           174: OWa/FjIfuGKXyc2
        !           175: 
        !           176: ###############################
        !           177: ###   Message precedences   ###
        !           178: ###############################
        !           179: 
        !           180: Pfirst-class=0
        !           181: Pspecial-delivery=100
        !           182: Pjunk=-100
        !           183: 
        !           184: #########################
        !           185: ###   Trusted users   ###
        !           186: #########################
        !           187: 
        !           188: Troot
        !           189: Tdaemon
        !           190: Tuucp
        !           191: Teric
        !           192: Tnetwork
        !           193: 
        !           194: #############################
        !           195: ###   Format of headers   ###
        !           196: #############################
        !           197: 
        !           198: H?P?Return-Path: <$g>
        !           199: HReceived: $?sfrom $s $.by $j ($v/$V)
        !           200:        id $i; $b
        !           201: H?D?Resent-Date: $a
        !           202: H?D?Date: $a
        !           203: H?F?Resent-From: $q
        !           204: H?F?From: $q
        !           205: H?x?Full-Name: $x
        !           206: HSubject:
        !           207: # HPosted-Date: $a
        !           208: # H?l?Received-Date: $b
        !           209: H?M?Resent-Message-Id: <$t.$i@$j>
        !           210: H?M?Message-Id: <$t.$i@$j>
        !           211: 
        !           212: ###########################
        !           213: ###   Rewriting rules   ###
        !           214: ###########################
        !           215: 
        !           216: 
        !           217: ################################
        !           218: #  Sender Field Pre-rewriting  #
        !           219: ################################
        !           220: S1
        !           221: #R$*<$*>$*             $1$2$3                          defocus
        !           222: 
        !           223: ###################################
        !           224: #  Recipient Field Pre-rewriting  #
        !           225: ###################################
        !           226: S2
        !           227: #R$*<$*>$*             $1$2$3                          defocus
        !           228: 
        !           229: #################################
        !           230: #  Final Output Post-rewriting  #
        !           231: #################################
        !           232: S4
        !           233: 
        !           234: R@                     $@                              handle <> error addr
        !           235: 
        !           236: # externalize local domain info
        !           237: R$*<$*LOCAL>$*         $1<$2$D>$3                      change local info
        !           238: R$*<$+>$*              $1$2$3                          defocus
        !           239: R@$+:$+:$+             $@@$1,$2:$3                     <route-addr> canonical
        !           240: 
        !           241: # UUCP must always be presented in old form
        !           242: R$+@$-.UUCP            $2!$1                           [email protected] => h!u
        !           243: 
        !           244: # delete duplicate local names -- mostly for arpaproto.mc
        !           245: R$+%$=w@$=w            $1@$3                           u%UCB@UCB => u@UCB
        !           246: R$+%$=w@$=w.ARPA       $1@$3.ARPA                      u%UCB@UCB => u@UCB
        !           247: 
        !           248: ###########################
        !           249: #  Name Canonicalization  #
        !           250: ###########################
        !           251: S3
        !           252: 
        !           253: # handle "from:<>" special case
        !           254: R<>                    $@@                             turn into magic token
        !           255: 
        !           256: # basic textual canonicalization
        !           257: R$*<$+>$*              $2                              basic RFC821/822 parsing
        !           258: R$+ at $+              $1@$2                           "at" -> "@" for RFC 822
        !           259: R$*<$*>$*              $1$2$3                          in case recursive
        !           260: 
        !           261: # make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone later
        !           262: R@$+,$+                        @$1:$2                          change all "," to ":"
        !           263: 
        !           264: # localize and dispose of domain-based addresses
        !           265: R@$+:$+                        $@$>6<@$1>:$2                   handle <route-addr>
        !           266: 
        !           267: # more miscellaneous cleanup
        !           268: R$+                    $:$>8$1                         host dependent cleanup
        !           269: R$+:$*;@$+             $@$1:$2;@$3                     list syntax
        !           270: R$+@$+                 $:$1<@$2>                       focus on domain
        !           271: R$+<$+@$+>             $1$2<@$3>                       move gaze right
        !           272: R$+<@$+>               $@$>6$1<@$2>                    already canonical
        !           273: 
        !           274: # convert old-style addresses to a domain-based address
        !           275: R$+%$+                 $@$>6$1<@$2>                    user%host
        !           276: R$-:$+                 $@$>6$2<@$1>                    host:user
        !           277: R$-.$+                 $@$>6$2<@$1>                    host.user
        !           278: R$+^$+                 $1!$2                           convert ^ to !
        !           279: R$-!$+                 $@$>6$2<@$1.UUCP>               resolve uucp names
        !           280: R$-=$+                 $@$>6$2<@$1.BITNET>             resolve bitnet names
        !           281: 
        !           282: 
        !           283: #######################
        !           284: #   Rewriting rules   #
        !           285: #######################
        !           286: 
        !           287: ##### special local conversions
        !           288: S6
        !           289: R$*<@$*$=D>$*          $1<@$2LOCAL>$4                  convert local domain
        !           290: R$*<@$*$=D.ARPA>$*     $1<@$2LOCAL>$4
        !           291: R$+%$+<@LOCAL>         $1<@$2.LOCAL>                   hack for % syntax
        !           292: R$*<@$+.$=T.$=T>$*     $1<@$2.$3>$5                    make UUCP top level
        !           293: R$*<@$+.$=T.$=T>$*     $1<@$2.$3>$5                    make UUCP top level
        !           294: R$*<@$*$=C.$=T>$*      $1<@$2$3>$5                     adjust CC hosts (ucbvax)
        !           295: R$*<@$*$=C>$*          $1<@$2$3.CC>$4                  adjust CC hosts (ucbvax)
        !           296: 
        !           297: ############################################################
        !           298: ############################################################
        !           299: #####
        !           300: #####          Local and Program Mailer specification
        !           301: #####
        !           302: #####          @(#)localm.m4   4.1             7/25/83
        !           303: #####
        !           304: ############################################################
        !           305: ############################################################
        !           306: 
        !           307: Mlocal,        P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u
        !           308: Mprog, P=/bin/sh,   F=lsDFMe,   S=10, R=20, A=sh -c $u
        !           309: 
        !           310: S10
        !           311: R@                     MAILER-DAEMON                   errors to mailer-daemon
        !           312: 
        !           313: ############################################################
        !           314: ############################################################
        !           315: #####
        !           316: #####          Ethernet Mailer specification
        !           317: #####
        !           318: #####          @(#)etherm.m4   4.1             7/25/83
        !           319: #####
        !           320: ############################################################
        !           321: ############################################################
        !           322: 
        !           323: Mether,        P=[IPC], F=msDFMueCX, S=11, R=21, A=IPC $h
        !           324: 
        !           325: S11
        !           326: R$*<@$+>$*             $@$1<@$2>$3                     already ok
        !           327: R$+                    $@$1<@$w>                       tack on our hostname
        !           328: 
        !           329: S21
        !           330: 
        !           331: 
        !           332: 
        !           333: ############################################################
        !           334: ############################################################
        !           335: #####
        !           336: #####          RULESET ZERO PREAMBLE
        !           337: #####
        !           338: #####  The beginning of ruleset zero is constant through all
        !           339: #####  configurations.
        !           340: #####
        !           341: #####          @(#)zerobase.m4 4.1             7/25/83
        !           342: #####
        !           343: ############################################################
        !           344: ############################################################
        !           345: 
        !           346: S0
        !           347: 
        !           348: # first make canonical
        !           349: R$*<$*>$*              $1$2$3                          defocus
        !           350: R$+                    $:$>3$1                         make canonical
        !           351: 
        !           352: # handle special cases.....
        !           353: R@                     $#local$:MAILER-DAEMON          handle <> form
        !           354: R$*<@[$+]>$*           $#tcp$@[$2]$:$1@[$2]$3          numeric internet spec
        !           355: 
        !           356: # arrange for local names to be fully qualified
        !           357: R$*<$*$=S>$*           $1<$2$3.LOCAL>$4                user@etherhost
        !           358: R$*<$*$=Z>$*           $1<$2$3.LOCAL>$4                user@berkhost
        !           359: R$*<$+.ARPA.LOCAL>$*   $1<$2.ARPA>$3                   because ARPA is a host
        !           360: 
        !           361: # now delete the local info
        !           362: R$*<$*$=w.LOCAL>$*     $1<$2>$4                        thishost.LOCAL
        !           363: R$*<$*$=w.ARPA>$*      $1<$2>$4                        thishost.ARPA
        !           364: R$*<$*$=w.UUCP>$*      $1<$2>$4                        thishost.UUCP
        !           365: R$*<$*$=w>$*           $1<$2>$4                        thishost
        !           366: R$*<$*.>$*             $1<$2>$3                        drop trailing dot
        !           367: R<@>:$*                        $@$>0$1                         retry after route strip
        !           368: R$*<@>                 $@$>0$1                         strip null trash & retry
        !           369: 
        !           370: # forward around hosts with communication problems
        !           371: R$*<@$=F.LOCAL>$*      $#ether$@$F$:$1<@$2.LOCAL>$3    reroute message
        !           372: 
        !           373: ##################################
        !           374: #  End of ruleset zero preamble  #
        !           375: ##################################
        !           376: 
        !           377: 
        !           378: ################################################
        !           379: ###  Machine dependent part of ruleset zero  ###
        !           380: ################################################
        !           381: 
        !           382: # resolve names that we can handle locally
        !           383: R<@$=W.UUCP>$+         $#uucp$@$1$:$2                  @host.UUCP: ...
        !           384: R$+<@$=W.UUCP>         $#uucp$@$2$:$1                  [email protected]
        !           385: 
        !           386: # resolve names that can go via the ethernet
        !           387: R$*<@$*$=S.LOCAL>$*    $#ether$@$3$:$1<@$2$3.$D>$4     user@etherhost
        !           388: 
        !           389: # other non-local names will be kicked upstairs
        !           390: R$*<@$+>$*             $#ether$@$R$:$1<@$2>$3          [email protected]
        !           391: 
        !           392: # remaining names must be local
        !           393: R$+                    $#local$:$1                     everything else
        !           394: 
        !           395: ############################################################
        !           396: ############################################################
        !           397: #####
        !           398: #####          UUCP Mailer specification
        !           399: #####
        !           400: #####          @(#)uucpm.m4    4.2             8/30/83
        !           401: #####
        !           402: ############################################################
        !           403: ############################################################
        !           404: 
        !           405: ############################################################
        !           406: ############################################################
        !           407: #####
        !           408: #####          Provide Backward Compatibility
        !           409: #####
        !           410: #####          @(#)compat.m4   4.2             8/30/83
        !           411: #####
        !           412: ############################################################
        !           413: ############################################################
        !           414: 
        !           415: 
        !           416: 
        !           417: ############################################################
        !           418: ############################################################
        !           419: #####
        !           420: #####          Berknet Host List
        !           421: #####
        !           422: #####          @(#)berkhosts.m4        4.2             8/6/83
        !           423: #####
        !           424: ############################################################
        !           425: ############################################################
        !           426: 
        !           427: # A-H, Q, and S are in the computer center domain
        !           428: CZI Ing70 ucberl70 erl70
        !           429: CZJ IngVAX Ingres ucbingres
        !           430: CZK ucbvax vax
        !           431: CZM medea ucbmedea image
        !           432: CZN Kim ucbkim
        !           433: CZO ESVAX ucbesvax
        !           434: CZR ARPAVAX arpa ucbarpa
        !           435: CZT MathStat ucbmathstat
        !           436: CZV CSVAX Ernie ucbernie
        !           437: CZX onyx ucbonyx
        !           438: CZZ EECS40 EARVAX ucbear ear
        !           439: 
        !           440: 
        !           441: #####################################################
        !           442: #  General code to convert back to old style names  #
        !           443: #####################################################
        !           444: S5
        !           445: 
        !           446: R$+<@$-.LOCAL>         $2:$1                           [email protected] => h:u
        !           447: R$+<@$-.CC>            $2:$1                           [email protected] => h:u
        !           448: R$+<@$=Z>              $@$2:$1                         u@bhost => h:u
        !           449: R$+<@$=C>              $@$2:$1                         u@cchost => h:u
        !           450: R$+<@$-.UUCP>          $2!$1                           [email protected] => host!u
        !           451: R$+@$+.ARPA            $1@$2                           [email protected] => u@host
        !           452: 
        !           453: 
        !           454: Muucp, P=/usr/bin/uux, F=sDFMhuU, S=13, R=23, M=100000,
        !           455:        A=uux - -r $h!rmail ($u)
        !           456: 
        !           457: S13
        !           458: R$+                    $:$>5$1                         convert to old style
        !           459: R$=w!$+                        $2                              strip local name
        !           460: R$*<@$=S>$*            $1<@$2.Berkeley.ARPA>$3         resolve abbreviations
        !           461: R$*<@$=Z>$*            $1<@$2.Berkeley.ARPA>$3         resolve abbreviations
        !           462: R$*<@$->$*             $1<@$2.ARPA>$3                  resolve abbreviations
        !           463: R$+                    $:$U!$1                         stick on our host name
        !           464: R$=w!$=R:$+            $:$1!$3                         ucbvax!ucbvax:xxx
        !           465: 
        !           466: S23
        !           467: R$+                    $:$>5$1                         convert to old style
        !           468: R$*<@$=S>$*            $1<@$2.Berkeley.ARPA>$3         resolve abbreviations
        !           469: R$*<@$=Z>$*            $1<@$2.Berkeley.ARPA>$3         resolve abbreviations
        !           470: R$*<@$->$*             $1<@$2.ARPA>$3                  resolve abbreviations
        !           471: 

unix.superglobalmegacorp.com

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