procmail
[Top] [All Lists]

Re: running procmail over an mbox file

2005-06-07 08:16:33
On Tue, 7 Jun 2005, S.A. Birl wrote:

On Jun 7, Luke Vanderfluit 
(nospam-luke(_at_)chipcity(_dot_)com(_dot_)au(_dot_)ns) typed:

Luke:  Hi,
Luke:
Luke:  I've had to replace a hard drive and therefore ended up with an mbox 
file of
Luke:  about 300 messages.
Luke:
Luke:  I have this mbox file, but I don't want to filter each individual mail 
into the
Luke:  appropriate mailboxes by hand.
Luke:  Is there a way that I can get procmail to use my .procmailrc to process 
just
Luke:  that one file?



Im certainly not the resident expert on this list, but I believe
  cat mbox | `which procmail`
should do the trick.  Run it under the account whose rc file you want to
use.

        It will take the mbox as one big email message.  You must
        split it by formail as Sean suggested.  Use "-s" flag for
        Splitting.

Bye,
 Udi



HTH

Thanks
Birl



Archives   http://www.xray.mpe.mpg.de/mailing-lists/procmail/

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail


+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.


---------------------------------------------------------------------------
Udi Mottelo - Unix System Administrator.
Faculty of Engineering - Tel-Aviv University
E-Mail: uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il    Phone: +972-3-6408958
---------------------------------------------------------------------------


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail