Annotation of researchv10dc/cmd/upas/config/research/route.tempo, revision 1.1

1.1     ! root        1: #!/bin/sh -p
        !             2: PATH=/bin:/usr/bin:/usr/lib/upas; export PATH
        !             3: sender=$1;shift
        !             4: system=$1;shift
        !             5: sys=`cat /etc/whoami`
        !             6: 
        !             7: # save the mail
        !             8: cat > /tmp/ur$$
        !             9: 
        !            10: #
        !            11: # Try direct smtp via internet.
        !            12: #
        !            13: temp=
        !            14: for i in $*; do temp="$temp $system!$i"; done
        !            15: tosmtp $sender $system $temp < /tmp/ur$$ &&
        !            16:        rm -f /tmp/ur$$ &&
        !            17:        exit 0
        !            18: 
        !            19: #
        !            20: # Now try the gateways.
        !            21: #
        !            22: for gsys in bebop.tempo.nj.att.com forte.tempo.nj.att.com
        !            23: do
        !            24:        temp=
        !            25:        for i in $*; do temp="$temp $gsys!uucp!$i"; done
        !            26:        tosmtp $sender $gsys $temp < /tmp/ur$$ &&
        !            27:                rm -f /tmp/ur$$ &&
        !            28:                exit 0
        !            29: done
        !            30: 
        !            31: #
        !            32: # finally try old faithful, slow, and boring: uucp to allegra.
        !            33: #
        !            34: uux - -a "$sender" "allegra!rmail" "($*)" < /tmp/ur$$ && rm -f /tmp/ur$$ && exit 0
        !            35: rv=$?
        !            36: rm -f /tmp/ur$$
        !            37: exit $rv

unix.superglobalmegacorp.com

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