[PHP] mail() - How to change the sender

2002-11-13 Thread Duncan
Hi,

all my scripts on my server, which use the mail() function, get the sender:
[EMAIL PROTECTED]
where domain is the localdomain of the server and nobody is the user 
under which apache is running.

So,
now i recently saw an error in the logs, that some servers don't accept 
emails coming from a nobody@ scheme.
How can i change the sender, so that i can use s.th. else?
Will i have to change the apache user to get rid of the nobody?

I am not talking about the From:  or Reply To: parameters, but the 
actual
Received: from nobody by domain.com with local (Exim ) .
line in the header.

My server runs with RedHat 7.3  latest apache 1.x  php versions.

Thanks in advance,

Duncan


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] mail() - How to change the sender

2002-11-13 Thread Duncan
Thanks for the answers,
but the From:  and Reply To: surely work, but nevertheless, if you 
check the complete headers, you will still see that the email got sent 
by [EMAIL PROTECTED].

...about this sendmail -f issue. I tried it, but it didn't change 
anything.

Thanks,
Duncan


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php