At 12:53 2002-10-15 +0700, Robert Nicholson did say:
So the claim is that if my filter echos a new message to stdout that
procmail will take that as the message?
I suggest you check out the "sandbox" testing method. You could easily
answer your own question by writing a simple filter and throwing a test
message at it and confirming what it does.
The h and b (lower case) flags define what gets thrown at the filter
(default is both), so you can rewrite headers, or you can rewrite the
body. Rewriting could be as simple as tacking on a footer, or truncating
the body to just a few lines (say you're processing bounce messages and
don't want to receive bounced attachments).
In practice, a procmail filter recipe isn't any different than a pipe at
the shell.
[big ol' snip]
---
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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail