procmail
[Top] [All Lists]

Re: mail reorganization

1999-07-01 06:47:00
Luis Quintano writes:

Hello!

I've just started to work with procmail and It's working perfectly...
I have an old mailbox that has lots of mails which I would like to
re-organize with procmail and my new set of rules. I would like procmail
to receive the mailbox and parse it with the rules I've defined.

how can I do it?

 formail -s procmail -Y -m /new/procmail/rcfile <inbox

 This makes formail split everything from stdin, ie. inbox,
 into single messages, and pipe them one by one into procmail.
 The -Y option to procmail assumes mailbox format, ie. it ignores
 Content-Length: fields.

 I found this very slow, though. Last time I used this command,
 it took in the order of 1 -- 2 minutes for a smallish, ~100k mailbox,
 on a small UltraSparc box.

<Prev in Thread] Current Thread [Next in Thread>