procmail
[Top] [All Lists]

Re: filtering old mail files...

2001-05-31 19:37:33
Robert Hartman wrote:
I am loving my fresh installing of procmail.  I have setup over
25 rules to filter my incoming mail.

What I am very interested in doing is using these rules to
filter old mail files.
I tried:
    cat <oldmailfile> | procmail
but this did not work as the mailfile was interpreted as one
email.
Does anyone have a painless solution?  I was going to write a
perl script to split the mail but has anyone done this already?

Perhaps something like the following?
 
     cat oldmailfile | formail +1 -ds procmail

-- 
Linux: The Choice of the GNU Generation


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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