Annotation of 42BSD/usr.lib/sendmail/cf/zerobase.m4, revision 1.1

1.1     ! root        1: ############################################################
        !             2: ############################################################
        !             3: #####
        !             4: #####          RULESET ZERO PREAMBLE
        !             5: #####
        !             6: #####  The beginning of ruleset zero is constant through all
        !             7: #####  configurations.
        !             8: #####
        !             9: #####          @(#)zerobase.m4 4.1             7/25/83
        !            10: #####
        !            11: ############################################################
        !            12: ############################################################
        !            13: 
        !            14: S0
        !            15: 
        !            16: # first make canonical
        !            17: R$*<$*>$*              $1$2$3                          defocus
        !            18: R$+                    $:$>3$1                         make canonical
        !            19: 
        !            20: # handle special cases.....
        !            21: R@                     $#local$:MAILER-DAEMON          handle <> form
        !            22: R$*<@[$+]>$*           $#tcp$@[$2]$:$1@[$2]$3          numeric internet spec
        !            23: 
        !            24: # arrange for local names to be fully qualified
        !            25: R$*<$*$=S>$*           $1<$2$3.LOCAL>$4                user@etherhost
        !            26: R$*<$*$=Z>$*           $1<$2$3.LOCAL>$4                user@berkhost
        !            27: R$*<$+.ARPA.LOCAL>$*   $1<$2.ARPA>$3                   because ARPA is a host
        !            28: 
        !            29: # now delete the local info
        !            30: R$*<$*$=w.LOCAL>$*     $1<$2>$4                        thishost.LOCAL
        !            31: R$*<$*$=w.ARPA>$*      $1<$2>$4                        thishost.ARPA
        !            32: R$*<$*$=w.UUCP>$*      $1<$2>$4                        thishost.UUCP
        !            33: R$*<$*$=w>$*           $1<$2>$4                        thishost
        !            34: R$*<$*.>$*             $1<$2>$3                        drop trailing dot
        !            35: R<@>:$*                        $@$>0$1                         retry after route strip
        !            36: R$*<@>                 $@$>0$1                         strip null trash & retry
        !            37: 
        !            38: # forward around hosts with communication problems
        !            39: R$*<@$=F.LOCAL>$*      $#ether$@$F$:$1<@$2.LOCAL>$3    reroute message
        !            40: 
        !            41: ##################################
        !            42: #  End of ruleset zero preamble  #
        !            43: ##################################

unix.superglobalmegacorp.com

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