home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / COMMS / PSIONMAI / PMFULLSO / SUNMAIL / SCCS / S.DOI < prev    next >
Encoding:
Text File  |  1995-07-06  |  800 b   |  40 lines

  1. h03497
  2. s 00027/00000/00000
  3. d D 1.1 95/07/06 18:58:45 tim 1 0
  4. c These are shell scripts that talk to varios programs involved in sending email to / from the psion
  5. e
  6. u
  7. U
  8. f e 0
  9. t
  10. T
  11. I 1
  12. #!/bin/csh
  13. echo doincomming Initialising
  14. source setupenv
  15. echo geting the remaining incomming mail
  16. getincomming
  17. echo compressing filenames
  18. setenv incount `complistfiles in.mta`
  19. echo $incount files from psion
  20. echo getting new emails
  21. dopop $incount
  22. # munge the headers
  23. echo "Extracting Headers"
  24. doheaders
  25. # make the lines acceptable to the psion
  26. echo "Shortening lines"
  27. doshorten
  28. # build the in.mta file
  29. createinmta
  30. # build the transfer program
  31. echo "Building the transfer command"
  32. buildintrans
  33. # actualy do the transfer
  34. echo "Transfering the files"
  35. dotrans
  36. # tidy up
  37. echo Deleting temporary files
  38. dotidy
  39. E 1
  40.