Re: OT: procmail/formail magic (was: Re: [Evolution] Outlook PST Equivalent)



On Tue, 7 Jun 2005, guenther wrote:

} A simple ;) command like this will feed the contents of large.mbox to
} formail, which splits it up into single mails and calls procmail to
} actually sort (well, process) the mails according to the
} local-procmail.rc receipts:
}
} $ cat large.mbox | formail -s procmail ./local-procmail.rc

I would not recommend using more resources than needed. Something that I
do all the time that doesn't require the overhead of cat:

formail -s procmail local-procmail.rc < large.mbox

That should work a lot more efficiently and be a tad quicker as well.

/vjl/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]