Hi,
07Jun2005 @ 06:32 Professional Software Engineering thusly spake
At 21:50 2005-06-07 +0930, Luke Vanderfluit wrote:
Hi,
I've had to replace a hard drive and therefore ended up with an mbox file
of
about 300 messages.
Uh, ok. One must wonder why your original filtering wasn't doing it's
thing...
I had remembered to copy all my .*rc files from backup to new ~ directory except
for .procmailrc :-)
I have this mbox file, but I don't want to filter each individual mail
into the appropriate mailboxes by hand.
Let's be clear - these are YOUR mailboxes (files belonging to one user),
not the mailboxes of multiple users? If you're dealing with a pile of
system email that was deposited in a single file and you need to sort out
which person each message was addresses to, you've got different problems
(and procmail isn't really the correct tool for that, though you can kludge
it as well as any other tool).
Is there a way that I can get procmail to use my .procmailrc to process
just
that one file?
If they're your mailboxes, and you have a ~/.procmailrc:
formail -s procmail < mbox_moved_from_default_location
worked like a charm,
in fact it worked so well and went so fast that I did it twice, thinking it
hadn't happened :-(, now I have duplicate mails of each one in that file, but at
least I haven't lost any mail, I can live with it.
Thanks,
kind regards,
Luke
____________________________________________________________
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