home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / mail / elm / 2300 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.0 KB

  1. Path: sparky!uunet!mcsun!uknet!canon.co.uk!tim
  2. From: tim@crash.canon.co.uk
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: Outgoing/sent filters - do they exist? (was Re: Filter only?)
  5. Message-ID: <92Sep03.0917.27596@crash.canon.co.uk>
  6. Date: 3 Sep 92 08:17:47 GMT
  7. References: <1992Sep1.171423.24661@dg-rtp.dg.com>
  8. Sender: Tim F O'Donoghue
  9. Organization: me myself and i
  10. Lines: 46
  11.  
  12. karres@enigma.rtp.dg.com (Dean Karres) writes:
  13. :
  14. |I would like to keep an automatic log of all of my incoming and outgoing
  15. |mail. What I would really like is to be able to do is:
  16. |
  17. |1) save the FROM, TO, DATE and SUBJECT info of all incoming and
  18. |   outward bound mail to a file.
  19. |
  20. |2) save a copy of all incoming and outgoing mail into a single archive
  21. |   folder.
  22. |
  23. |3) still have incoming messages come to my inbox as though there were
  24. |   not any filters.
  25.  
  26. 2 and 3 first. Logging all incoming mail to a single folder can be done
  27. via .forward, eg:
  28.  
  29. \karres,/user/karres/Mail/folder
  30.  
  31. and you could also use sentmail=/user/karres/Mail/folder within elm to
  32. log your outgoing stuff (setting autocopy=ON and savename=OFF).
  33.  
  34. Now 1: logging From, To, Date and Subject is partly[*] done for you by
  35. procmail for incoming mail (ask archie about procmail). The log looks
  36. like:
  37.  
  38. From root  Sat Aug 29 23:59:02 1992
  39.  Subject: /etc/cre/bin/syslog-conmon for Aug 29 on crash
  40.   Folder: /usr/spool/mail/tim                                               324
  41.  
  42. [*]I say "partly" because the date is the received date rather than the
  43. sent date.
  44.  
  45. You can do virtually anything in procmail so you could write your own
  46. filter which stripped and logged whatever you wanted out of incoming
  47. messages. I have one which bounces mail back automatically at
  48. "undesirables" but that's another story.
  49.  
  50. As for a similar log for outgoing mail, well, I don't think elm lets
  51. you get down there. I'm new to elm so don't quote me on that. It would
  52. be nice if elm had a sendmail variable like Berkeley mail. Maybe in the
  53. next version huh?
  54.  
  55. Tx.
  56. --
  57. check my header - travelling hard at the speed of thought
  58.