home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh
- echo doincomming Initialising
- source setupenv
- echo geting the remaining incomming mail
- getincomming
- echo compressing filenames
- setenv incount `complistfiles in.mta`
- echo $incount files from psion
- echo getting new emails
- dopop $incount
- # munge the headers
- echo "Extracting Headers"
- doheaders
- # make the lines acceptable to the psion
- echo "Shortening lines"
- doshorten
- # build the in.mta file
- createinmta
- # build the transfer program
- echo "Building the transfer command"
- buildintrans
- # actualy do the transfer
- echo "Transfering the files"
- dotrans
- # tidy up
- echo Deleting temporary files
- dotidy
-