Re: !Postprocess and e-mailed summary report

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
"Robin Bowes" <[email protected]> wrote:
> I've patched messagewallstats differently so it doesn't
> re-write stdin to stderr.

I think John's messagewallstats writes something different to stderr -
a summary report, not a copy of its input.

>   "!{ messagewallstats | qmail-inject postmaster }"

Yes, or you could even leave out the braces:
"!messagewallstats|qmail-inject postmaster"

> I'd like to keep the rotated log files, but have a summary report
> emailed when they are rotated.

"!messagewallstats; qmail-inject postmaster < processed"


paul
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.