home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / mail / misc / 2862 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.4 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!usc!hacgate!lyra!root
  2. From: root@lyra.scg.hac.com (Dave Fisher)
  3. Newsgroups: comp.mail.misc
  4. Subject: Re: Software to process mbox? (Summary)
  5. Message-ID: <23092@hacgate.SCG.HAC.COM>
  6. Date: 31 Aug 92 23:02:03 GMT
  7. References: <23049@hacgate.SCG.HAC.COM> <SMITTIE.92Aug27143659@beach.csulb.edu>
  8. Sender: news@hacgate.SCG.HAC.COM
  9. Reply-To: fisher@lyra.hac.com (Dave Fisher)
  10. Organization: Hughes Aircraft Co., Carlsbad, CA
  11. Lines: 26
  12.  
  13. In article <23049@hacgate.SCG.HAC.COM> I wrote:
  14. >Anybody know of some software which will process an existing "mbox" file
  15. >and separate the mail according to who sent it, subject, etc. ?
  16.  
  17. Thanks to:
  18.            Stephen R. van den Berg (AKA BuGless).    berg@physik.tu-muenchen.de
  19. and 
  20.            Steven D. Majewski        University of Virginia Physiology Dept.
  21.            sdm7g@Virginia.EDU        
  22.  
  23. The short answer is that to do this one needs procmail, and/or formail.
  24. Stephen van den Berg suggested the following:
  25.  
  26. ]Get the procmail/formail combo, write yourself a suitable .procmailrc file
  27. ](which will mainly consist of a bunch of regular expressions and a bunch of
  28. ]folders you want the mail sorted into), and use the following command-line:
  29. ]
  30. ]    formail <mbox -s procmail
  31. ]
  32. ](Or, if you have a non-standard mailbox format, like digests and the like:
  33. ]
  34. ]    formail <mbox -ds procmail
  35.  
  36. Thanks again to both.               Dave Fisher  fisher@lyra.hac.com
  37.  
  38.  
  39.