home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / misc / 2941 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.2 KB  |  39 lines

  1. Newsgroups: comp.mail.misc
  2. Path: sparky!uunet!portal!ntmtv!ntmtv!montasmm
  3. From: montasmm@ntmtv.UUCP (Medi Montaseri)
  4. Subject: System mailbox ../spool/mail/user_mbox format, need help.
  5. Message-ID: <1992Sep8.003555.22437@ntmtv>
  6. Originator: montasmm@nmtvs299
  7. Sender: news@ntmtv
  8. Nntp-Posting-Host: nmtvs299
  9. Reply-To: montasmm@ntmtv.UUCP (Medi Montaseri)
  10. Organization: Northern Telecom Inc, Mountain View, CA
  11. Distribution: ba
  12. Date: Tue, 8 Sep 1992 00:35:55 GMT
  13. Lines: 24
  14.  
  15. Hello Earthians
  16.  
  17. Objective:
  18. write a program to invoke another program when new mail has been received.
  19.  
  20. Now we know, mailtool(1) in sun world sets a flag on its icon. I also
  21. know that some program writes a line like "You have new mail" to my
  22. tty. I think this is done by checking /var/spool/mail/some_file file,
  23. to see if there is any new mail. My question is how is this decision
  24. made. That is, is the size of the file checked, or the time and
  25. access, or the file is actually processed. If the file is proccessed
  26. then I think the field Status is checked. If so what are the possible
  27. values, I know it can be "O" or "OR".
  28.  
  29. References are appreciated as well.
  30.  
  31. Thanks
  32.  
  33.     Medi
  34.  
  35. -- 
  36. Medi
  37. E_mail: ntmtv!montasmm@ames.arc.nasa.gov
  38.  
  39.