Annotation of 43BSD/usr.lib/sendmail/cf.hosttable/arpa.mc, revision 1.1

1.1     ! root        1: #
        !             2: #  Sendmail
        !             3: #  Copyright (c) 1983  Eric P. Allman
        !             4: #  Berkeley, California
        !             5: #
        !             6: #  Copyright (c) 1983 Regents of the University of California.
        !             7: #  All rights reserved.  The Berkeley software License Agreement
        !             8: #  specifies the terms and conditions for redistribution.
        !             9: #
        !            10: #      @(#)arpa.mc     5.4 (Berkeley) 10/16/85
        !            11: #
        !            12: ############################################################
        !            13: ############################################################
        !            14: #####
        !            15: #####          SENDMAIL CONFIGURATION FILE
        !            16: #####
        !            17: #####
        !            18: ############################################################
        !            19: ############################################################
        !            20: 
        !            21: 
        !            22: 
        !            23: ############################################################
        !            24: ###    local info
        !            25: ############################################################
        !            26: 
        !            27: # internet hostname
        !            28: Cwucbarpa arpa arpavax ucbarpavax r UCB-ARPA
        !            29: 
        !            30: # uucp hostnames
        !            31: DUucbarpa
        !            32: CUucbarpa
        !            33: 
        !            34: # local UUCP connections
        !            35: CWmetron
        !            36: 
        !            37: # we have full sendmail support here
        !            38: Oa
        !            39: 
        !            40: include(csbase.m4)
        !            41: 
        !            42: #
        !            43: #  Sendmail
        !            44: #  Copyright (c) 1983  Eric P. Allman
        !            45: #  Berkeley, California
        !            46: #
        !            47: #  Copyright (c) 1983 Regents of the University of California.
        !            48: #  All rights reserved.  The Berkeley software License Agreement
        !            49: #  specifies the terms and conditions for redistribution.
        !            50: #
        !            51: #      @(#)zerobase.m4 5.1 (Berkeley) 6/10/85
        !            52: #
        !            53: ############################################################
        !            54: ############################################################
        !            55: #####
        !            56: #####          RULESET ZERO PREAMBLE
        !            57: #####
        !            58: #####  The beginning of ruleset zero is constant through all
        !            59: #####  configurations.
        !            60: #####
        !            61: ############################################################
        !            62: ############################################################
        !            63: 
        !            64: S0
        !            65: 
        !            66: # first make canonical
        !            67: R$*<$*>$*              $1$2$3                          defocus
        !            68: R$+                    $:$>3$1                         make canonical
        !            69: 
        !            70: # handle special cases.....
        !            71: R@                     $#local$:MAILER-DAEMON          handle <> form
        !            72: R$*<@[$+]>$*           $#tcp$@[$2]$:$1@[$2]$3          numeric internet spec
        !            73: 
        !            74: # arrange for local names to be fully qualified
        !            75: R$*<$*$=S>$*           $1<$2$3.LOCAL>$4                user@etherhost
        !            76: R$*<$*$=Z>$*           $1<$2$3.LOCAL>$4                user@berkhost
        !            77: R$*<$+.ARPA.LOCAL>$*   $1<$2.ARPA>$3                   because ARPA is a host
        !            78: 
        !            79: # now delete the local info
        !            80: R$*<$*$=w.$=T>$*       $1<$2>$5                        thishost.LOCAL
        !            81: # remove next line as it screws up arpa connections
        !            82: #R$*<$*$=w>$*          $1<$2>$4                        thishost
        !            83: R$*<$*.>$*             $1<$2>$3                        drop trailing dot
        !            84: R<@>:$*                        $@$>0$1                         retry after route strip
        !            85: R$*<@>                 $@$>0$1                         strip null trash & retry
        !            86: 
        !            87: # forward around hosts with communication problems
        !            88: R$*<@$=F.LOCAL>$*      $#ether$@$F$:$1<@$2.LOCAL>$3    reroute message
        !            89: 
        !            90: ##################################
        !            91: #  End of ruleset zero preamble  #
        !            92: ##################################
        !            93: ################################################
        !            94: ###  Machine dependent part of ruleset zero  ###
        !            95: ################################################
        !            96: 
        !            97: # resolve names we can handle locally
        !            98: R<@$=W.UUCP>:$+                $#uucp$@$1$:$2                  @host.UUCP:...
        !            99: R$+<@$=W.UUCP>         $#uucp$@$2$:$1                  [email protected]
        !           100: 
        !           101: # optimize names of known ethernet hosts
        !           102: R$*<@$*$=S.LOCAL>$*    $#ether$@$3$:$1<@$2$3>$4        [email protected]
        !           103: 
        !           104: # pass test addresses off to MMDF
        !           105: R$+@UDel-Test          $#mmdf$@UDel-Test$:$1           user.host@udel-relay
        !           106: 
        !           107: # other non-local names will be kicked upstairs
        !           108: R$+@$+                 $#ether$@$F$:$1@$2              [email protected]
        !           109: 
        !           110: # everything else is a local name
        !           111: R$+                    $#local$:$1                     local names
        !           112: 
        !           113: ########################################
        !           114: ###  Host dependent address cleanup  ###
        !           115: ########################################
        !           116: 
        !           117: S8
        !           118: R$*$=U!$+@$+           $3@$4                           drop uucp forward
        !           119: 
        !           120: 
        !           121: include(tcpm.m4)
        !           122: include(mmdfm.m4)
        !           123: include(suucpm.m4)

unix.superglobalmegacorp.com

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