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

1.1     ! root        1: ############################################################
        !             2: ############################################################
        !             3: #####
        !             4: #####          SENDMAIL CONFIGURATION FILE
        !             5: #####
        !             6: #####  Customized for dbvax at University of Wisconsin.
        !             7: #####  This configuration is highly experimental.
        !             8: #####
        !             9: #####          @(#)dbvax.mc    4.1             7/25/83
        !            10: #####
        !            11: ############################################################
        !            12: ############################################################
        !            13: 
        !            14: 
        !            15: 
        !            16: ############################################################
        !            17: ###    local info
        !            18: ############################################################
        !            19: 
        !            20: # internet hostname
        !            21: Cwdbvax
        !            22: 
        !            23: ######################
        !            24: #   General Macros   #
        !            25: ######################
        !            26: 
        !            27: # arpanet gateway
        !            28: DAUWisc
        !            29: CAUWisc UWVax
        !            30: 
        !            31: # local domain names
        !            32: DDUWISC
        !            33: CDUWISC
        !            34: 
        !            35: # major relay host
        !            36: DRUWVAX
        !            37: CRUWVAX
        !            38: 
        !            39: ############################################################
        !            40: #
        !            41: #      General configuration information
        !            42: #
        !            43: #      This information is basically just "boiler-plate"; it must be
        !            44: #      there, but is essentially constant.
        !            45: #
        !            46: #      Information in this file should be independent of location --
        !            47: #      i.e., although there are some policy decisions made, they are
        !            48: #      not specific to Berkeley per se.
        !            49: #
        !            50: #              @(#)base.m4     4.3             8/30/83
        !            51: #
        !            52: ############################################################
        !            53: 
        !            54: #      @(#)version.m4  4.7             8/31/83
        !            55: 
        !            56: DV4.7
        !            57: 
        !            58: 
        !            59: ##########################
        !            60: ###   Special macros   ###
        !            61: ##########################
        !            62: 
        !            63: # my name
        !            64: DnMAILER-DAEMON
        !            65: # UNIX header format
        !            66: DlFrom $g  $d
        !            67: # delimiter (operator) characters
        !            68: Do.:%@!^=/[]
        !            69: # format of a total name
        !            70: Dq$g$?x ($x)$.
        !            71: # SMTP login message
        !            72: De$j Sendmail $v/$V ready at $b
        !            73: 
        !            74: # forwarding host -- redefine this if you can't talk to the relay directly
        !            75: DF$R
        !            76: 
        !            77: ###################
        !            78: ###   Options   ###
        !            79: ###################
        !            80: 
        !            81: # location of alias file
        !            82: OA/usr/lib/aliases
        !            83: # default delivery mode (deliver in background)
        !            84: Odbackground
        !            85: # (don't) connect to "expensive" mailers
        !            86: #Oc
        !            87: # temporary file mode
        !            88: OF0644
        !            89: # default GID
        !            90: Og1
        !            91: # location of help file
        !            92: OH/usr/lib/sendmail.hf
        !            93: # log level
        !            94: OL9
        !            95: # default messages to old style
        !            96: Oo
        !            97: # queue directory
        !            98: OQ/usr/spool/mqueue
        !            99: # read timeout -- violates protocols
        !           100: Or2h
        !           101: # status file
        !           102: OS/usr/lib/sendmail.st
        !           103: # queue up everything before starting transmission
        !           104: Os
        !           105: # default timeout interval
        !           106: OT3d
        !           107: # time zone names (V6 only)
        !           108: OtPST,PDT
        !           109: # default UID
        !           110: Ou1
        !           111: # wizard's password
        !           112: OWa/FjIfuGKXyc2
        !           113: 
        !           114: ###############################
        !           115: ###   Message precedences   ###
        !           116: ###############################
        !           117: 
        !           118: Pfirst-class=0
        !           119: Pspecial-delivery=100
        !           120: Pjunk=-100
        !           121: 
        !           122: #########################
        !           123: ###   Trusted users   ###
        !           124: #########################
        !           125: 
        !           126: Troot
        !           127: Tdaemon
        !           128: Tuucp
        !           129: Teric
        !           130: Tnetwork
        !           131: 
        !           132: #############################
        !           133: ###   Format of headers   ###
        !           134: #############################
        !           135: 
        !           136: H?P?Return-Path: <$g>
        !           137: HReceived: $?sfrom $s $.by $j ($v/$V)
        !           138:        id $i; $b
        !           139: H?D?Resent-Date: $a
        !           140: H?D?Date: $a
        !           141: H?F?Resent-From: $q
        !           142: H?F?From: $q
        !           143: H?x?Full-Name: $x
        !           144: HSubject:
        !           145: # HPosted-Date: $a
        !           146: # H?l?Received-Date: $b
        !           147: H?M?Resent-Message-Id: <$t.$i@$j>
        !           148: H?M?Message-Id: <$t.$i@$j>
        !           149: 
        !           150: ###########################
        !           151: ###   Rewriting rules   ###
        !           152: ###########################
        !           153: 
        !           154: 
        !           155: ################################
        !           156: #  Sender Field Pre-rewriting  #
        !           157: ################################
        !           158: S1
        !           159: #R$*<$*>$*             $1$2$3                          defocus
        !           160: 
        !           161: ###################################
        !           162: #  Recipient Field Pre-rewriting  #
        !           163: ###################################
        !           164: S2
        !           165: #R$*<$*>$*             $1$2$3                          defocus
        !           166: 
        !           167: #################################
        !           168: #  Final Output Post-rewriting  #
        !           169: #################################
        !           170: S4
        !           171: 
        !           172: R@                     $@                              handle <> error addr
        !           173: 
        !           174: # externalize local domain info
        !           175: R$*<$*LOCAL>$*         $1<$2$D>$3                      change local info
        !           176: R$*<$+>$*              $1$2$3                          defocus
        !           177: R@$+:$+:$+             $@@$1,$2:$3                     <route-addr> canonical
        !           178: 
        !           179: # UUCP must always be presented in old form
        !           180: R$+@$-.UUCP            $2!$1                           [email protected] => h!u
        !           181: 
        !           182: # delete duplicate local names -- mostly for arpaproto.mc
        !           183: R$+%$=w@$=w            $1@$3                           u%UCB@UCB => u@UCB
        !           184: R$+%$=w@$=w.ARPA       $1@$3.ARPA                      u%UCB@UCB => u@UCB
        !           185: 
        !           186: ###########################
        !           187: #  Name Canonicalization  #
        !           188: ###########################
        !           189: S3
        !           190: 
        !           191: # handle "from:<>" special case
        !           192: R<>                    $@@                             turn into magic token
        !           193: 
        !           194: # basic textual canonicalization
        !           195: R$*<$+>$*              $2                              basic RFC821/822 parsing
        !           196: R$+ at $+              $1@$2                           "at" -> "@" for RFC 822
        !           197: R$*<$*>$*              $1$2$3                          in case recursive
        !           198: 
        !           199: # make sure <@a,@b,@c:user@d> syntax is easy to parse -- undone later
        !           200: R@$+,$+                        @$1:$2                          change all "," to ":"
        !           201: 
        !           202: # localize and dispose of domain-based addresses
        !           203: R@$+:$+                        $@$>6<@$1>:$2                   handle <route-addr>
        !           204: 
        !           205: # more miscellaneous cleanup
        !           206: R$+                    $:$>8$1                         host dependent cleanup
        !           207: R$+:$*;@$+             $@$1:$2;@$3                     list syntax
        !           208: R$+@$+                 $:$1<@$2>                       focus on domain
        !           209: R$+<$+@$+>             $1$2<@$3>                       move gaze right
        !           210: R$+<@$+>               $@$>6$1<@$2>                    already canonical
        !           211: 
        !           212: # convert old-style addresses to a domain-based address
        !           213: R$+%$+                 $@$>6$1<@$2>                    user%host
        !           214: R$-:$+                 $@$>6$2<@$1>                    host:user
        !           215: R$-.$+                 $@$>6$2<@$1>                    host.user
        !           216: R$+^$+                 $1!$2                           convert ^ to !
        !           217: R$-!$+                 $@$>6$2<@$1.UUCP>               resolve uucp names
        !           218: R$-=$+                 $@$>6$2<@$1.BITNET>             resolve bitnet names
        !           219: 
        !           220: 
        !           221: #######################
        !           222: #   Rewriting rules   #
        !           223: #######################
        !           224: 
        !           225: ##### special local conversions
        !           226: S6
        !           227: R$*<@$+.$=D>$*         $1<@$2.LOCAL>$4                 convert local domain
        !           228: R$*<@$+.$=D.ARPA>$*    $1<@$2.LOCAL>$4
        !           229: R$*<@$+.UUCP.LOCAL>$*  $1<@$2.UUCP>$3                  make UUCP top level
        !           230: 
        !           231: ############################################################
        !           232: ############################################################
        !           233: #####
        !           234: #####          RULESET ZERO PREAMBLE
        !           235: #####
        !           236: #####  The beginning of ruleset zero is constant through all
        !           237: #####  configurations.
        !           238: #####
        !           239: #####          @(#)zerobase.m4 4.1             7/25/83
        !           240: #####
        !           241: ############################################################
        !           242: ############################################################
        !           243: 
        !           244: S0
        !           245: 
        !           246: # first make canonical
        !           247: R$*<$*>$*              $1$2$3                          defocus
        !           248: R$+                    $:$>3$1                         make canonical
        !           249: 
        !           250: # handle special cases.....
        !           251: R@                     $#local$:MAILER-DAEMON          handle <> form
        !           252: R$*<@[$+]>$*           $#tcp$@[$2]$:$1@[$2]$3          numeric internet spec
        !           253: 
        !           254: # arrange for local names to be fully qualified
        !           255: R$*<$*$=S>$*           $1<$2$3.LOCAL>$4                user@etherhost
        !           256: R$*<$*$=Z>$*           $1<$2$3.LOCAL>$4                user@berkhost
        !           257: R$*<$+.ARPA.LOCAL>$*   $1<$2.ARPA>$3                   because ARPA is a host
        !           258: 
        !           259: # now delete the local info
        !           260: R$*<$*$=w.LOCAL>$*     $1<$2>$4                        thishost.LOCAL
        !           261: R$*<$*$=w.ARPA>$*      $1<$2>$4                        thishost.ARPA
        !           262: R$*<$*$=w.UUCP>$*      $1<$2>$4                        thishost.UUCP
        !           263: R$*<$*$=w>$*           $1<$2>$4                        thishost
        !           264: R$*<$*.>$*             $1<$2>$3                        drop trailing dot
        !           265: R<@>:$*                        $@$>0$1                         retry after route strip
        !           266: R$*<@>                 $@$>0$1                         strip null trash & retry
        !           267: 
        !           268: # forward around hosts with communication problems
        !           269: R$*<@$=F.LOCAL>$*      $#ether$@$F$:$1<@$2.LOCAL>$3    reroute message
        !           270: 
        !           271: ##################################
        !           272: #  End of ruleset zero preamble  #
        !           273: ##################################
        !           274: 
        !           275: 
        !           276: ################################################
        !           277: ###  Machine dependent part of ruleset zero  ###
        !           278: ################################################
        !           279: 
        !           280: # resolve names that can go via the ethernet
        !           281: R$*<@$*$=S>$*          $#ether$@$3$:$1<@$2$3>$4        user@etherhost
        !           282: 
        !           283: # resolve berknet names
        !           284: R<@$=Z>:$+             $#berk$@$1$:$2                  @berkhost: ...
        !           285: R$+<@$=Z>              $#berk$@$2$:$1                  user@berknethost
        !           286: 
        !           287: # resolve local UUCP links (all others)
        !           288: R<@$-.UUCP>$+          $1!$2@$R.ARPA                   @host.UUCP: ...
        !           289: R$+<@$-.UUCP>          $2!$1@$R.ARPA                   [email protected]
        !           290: 
        !           291: # other non-local names will be kicked upstairs
        !           292: R$*<@$+>$*             $#tcp$@$3$:$1<@$2>$3            [email protected]
        !           293: 
        !           294: # remaining names must be local
        !           295: R$+                    $#local$:$1                     everything else
        !           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: #####          Arpanet NCP Mailer specification
        !           317: #####
        !           318: #####          @(#)ncpm.m4     4.1             7/25/83
        !           319: #####
        !           320: ############################################################
        !           321: ############################################################
        !           322: 
        !           323: Marpa, P=/usr/lib/mailers/arpa, F=sDFMun, S=15, R=15, A=sendarpa $f $h $u
        !           324: 
        !           325: S15
        !           326: R$+                    $:$>5$1                         convert to old form
        !           327: R$+:$+                 $1.$2                           convert colon to dot
        !           328: R$+<@$->               $@$1<@$2>                       fine....
        !           329: R$+                    $@$1<@$A>                       tack on global info
        !           330: 

unix.superglobalmegacorp.com

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