At 16:24 2009-12-07 -0500, W. Thornton Martin wrote:
fine, but I would like to add a subject line in order to identify the
log in the future. Does anyone know how to set the mail subject line
for text written to stdout?
You could use formail. Or, chained before your perl script, you could have
something that emits a few sensible header lines. Or:
# this presumes you have _no_ headers at all
:0hf
{
# invoke something that emits a series of headers
| echo "Subject: something sensible"
}
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail