Subject: | piping of just the header should be allowed |
One nice feature of Procmail is the ability to Pipe just the headers somewhere. This is useful for the lbdb-fetchaddr program, which gathers addresses out of the mail header.
I would like the pipe() syntax to be updated to support this, perhaps by allows you to pipe arbitrary data instead of the mail message.
Here's the page on lbdb-fetchaddr for reference:
http://www.spinnaker.de/lbdb/lbdb-fetchaddr.html
I suppose a workaround exits for the current module by creating a new message object using just the headers you want, and using the pipe command on that. That doesn't seem a clean to me as just updating pipe(), though.
Thanks,
Mark