Re: can procmail report how many msgs it has processed during processing
Bart Schaefer <[email protected]>
| Newsgroups | gmane.mail.procmail |
|---|---|
| Message-ID | <CABkvzctFr2pTmLpyKdaS=oNB9Hop3i+QgSZZaTeDOa8hpc7iFQ@mail.gmail.com> |
On Sat, Sep 14, 2013 at 12:31 PM, Harry Putnam <[email protected]> wrote: > > cat spam-ham-mixed | formail -e -s procmail -m ${sandbox}/.prc > > Is there a better way? If spam-ham-mixed is just one file, then the only improvement to the above would be to avoid the "useless use of cat": formail -e -s procmail -p -m ${sandbox}/.prc < spam-ham-mixed The -p is the answer to your other problem: > Trying: >> LOG="Processing message $FILENO >> " > > That doesn't seem to be working here Sorry about that. You need the -p option to procmail so that it doesn't erase the environment variables that formail sets up.