home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!hacgate!lyra!root
- From: root@lyra.scg.hac.com (Dave Fisher)
- Newsgroups: comp.mail.misc
- Subject: Re: Software to process mbox? (Summary)
- Message-ID: <23092@hacgate.SCG.HAC.COM>
- Date: 31 Aug 92 23:02:03 GMT
- References: <23049@hacgate.SCG.HAC.COM> <SMITTIE.92Aug27143659@beach.csulb.edu>
- Sender: news@hacgate.SCG.HAC.COM
- Reply-To: fisher@lyra.hac.com (Dave Fisher)
- Organization: Hughes Aircraft Co., Carlsbad, CA
- Lines: 26
-
- In article <23049@hacgate.SCG.HAC.COM> I wrote:
- >Anybody know of some software which will process an existing "mbox" file
- >and separate the mail according to who sent it, subject, etc. ?
-
- Thanks to:
- Stephen R. van den Berg (AKA BuGless). berg@physik.tu-muenchen.de
- and
- Steven D. Majewski University of Virginia Physiology Dept.
- sdm7g@Virginia.EDU
-
- The short answer is that to do this one needs procmail, and/or formail.
- Stephen van den Berg suggested the following:
-
- ]Get the procmail/formail combo, write yourself a suitable .procmailrc file
- ](which will mainly consist of a bunch of regular expressions and a bunch of
- ]folders you want the mail sorted into), and use the following command-line:
- ]
- ] formail <mbox -s procmail
- ]
- ](Or, if you have a non-standard mailbox format, like digests and the like:
- ]
- ] formail <mbox -ds procmail
-
- Thanks again to both. Dave Fisher fisher@lyra.hac.com
-
-
-