I am not sure if i made myself clear. For instance please review a sample cgi formmail script submitted from one of my customer domains hosted on my server.
---------------------------------
Return-Path: <apache@
www.myhostingservername.com>
Received: (from apache@localhost)
To:
recipient@domain.com
From:
sender@somename.com
-----------------------------------
In the above formmail script; the recipient address is set as
recipient@domain.com, however please note the following header which the Sendmail MTA appends to all php and cgi form mail scripts;
Return-Path: <apache@
www.myhostingservername.com>
How do you set the "Return-Path" header to be same as the recipient email address.
Do note that this is not script dependent but MTA (Sendmail) dependent as far i know.