Have you tried setting the Reply-To: address or Errors-To: address?
It is my understanding that the Return-Path: header is not supposed to
be (can't be?) set by you but rather by the final delivering server.
It'll get that information from SMTP commands rather than header
information.
I had this problem a number of years ago but had to abandon trying to
make it work because of an intervening Exchange system that kept
disallowing my various work-arounds. In any event, a procmail-only
solution wasn't feasible. It looks like you have better control of the
pathways so you might be able to have better luck. Have a look at
http://www.ietf.org/rfc/rfc2821.txt and see if that helps you. I has
been too long since I played in this sandbox to give you more precise
information.
Rich
On 11/15/10 7:35 PM, Nigel Allen wrote:
A little update.
Having dug a little deeper into this, it appears that the problem is not
the "From" header but the "Return-Path" which is getting set to the
machine name.
Here are the headers from one of the offending emails. The return-path
should be the same as the "From" header.
____________________________________________________________
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