no,no,no,no....
SendMail automatically sends a header called 'Received:'
Received: from my.domain [123.456.789.000] by your.domain [123.654.987.111] (then it is time stamped)
I can send a Received: header, but SendMail sends it's own header. If I send one, then there are two Received: headers sent.:
Received: from my.root.domain [123.456.789.000] by your.domain [123.654.987.111] (timestamp)
Received: from domain.masquerade [123.456.789.111] by your.domain [123.654.987.11] (timestamp)
The first is the one that Sendmail generates and the second one is what I send through mail( ).
In SendMail, there is a variable '$j' that holds the value of the Received: header. I can go into the sendmail.cf file and change the $j value, but it would be reflected on all my sites. I am just wondering if the mail( ) function allows for me to change this dynamically, or do I need to write a script to do it?