From: Stephen Shirley (diamond at domain skynet.ie)
Date: Thu 11 Oct 2001 - 14:43:18 IST
On Tue, 2 Oct 2001, Stephen Shirley wrote:
> Mornin' all,
> I am trying to write a .procmailrc that will filter my mail
> according to all my usual recipes and then run a certain command at then
> end.
To answer my own question (at last):
"That's what TRAP is for. The command(s) in TRAP will be executed as
procmail exits, with the message as stdin and the logfile as stderr and
stdout (any of which can be redirected, of course). I use it, for
example,to append more headers to those in the usual logabstract."
-- "David W. Tamkin" <dattier at domain ripco.com> on the procmail mailing list.
Steve
-- "My mom had Windows at work and it hurt her eyes real bad"
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:42 GMT