Roger Walker wrote
> We need to set up something special for a domain and to do so, we
> need to capture all of the headers, including the "Return-Path:". If we
> pipe the messages to a script in the ".qmail-default", qmail-local strips
> off that and other headers we may need. Is there any way to over-ride
> this behavior or otherwise force qmail-local to provide those headers to
> the pipe?
If you can alter the program you pipe to, just grab the enviropment variable
RPLINE for the return-path in the program you pipe to - it is set by
qmail-local in the delivery time. The same is with the delivered to header,
it's in DTLINE.
Put
| /usr/bin/env > /tmp/enviropment_dump
in .qmail
to check out all the enviropment variables set by qmail-local