RE: !Postprocess and e-mailed summary report

"Robin Bowes" <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
John Peacock <mailto:[email protected]> wrote on 29 January 2003 18:55:

> Paul Jarc wrote:
>> "!{ messagewallstats - 2>&1 1>&3 | qmail-inject postmaster } 3>&1"
>>
>
> Excellent!  I knew I could count on someone on this list being
> smarter than me!

I'm working on a similar thing to John - I would like to do the same thing as he has accomplished, but I do not want to have the
program messagewallstats writing STDIN to STDERR, which is how John's solution works.

I've patched messagewallstats so it reads from STDIN, and I'd like to send the output to qmail-inject. So, this will process the
current log file and mail the output of the program to postmaster:

!{ messagewallstats | qmail-inject postmaster }

Am I correct in thinking that this will mean that the current log file will be not be written to an old file? How can I achieve
this?

Thanks,

R.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.