-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well man
I'd consider the choice of invoking sendmail -f, it's right what I
need to do, but how can I do so in the mail function ?
Is there something I have to alter in the php.ini file ?
- ----- Original Message -----
From: "Robert Hough" <[EMAIL PROTECTED]>
To: "Yurais Fernandez Leal" <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 5:54 PM
Subject: Re: [PHP] Sendmail User ID
> On Thu, 18 Jan 2001, Yurais Fernandez Leal wrote:
>
> > But the mails are been sent as nobody@webserver
>
> It would help to post the actual snippet of code your using. It
> could be any number of things. Though, what I think you are
> experiencing, is soemething I dealt with a few days ago.
>
> > nobody is the user that runs the web server.
>
> You are probably talking about the Return-Path, which can be
> changed by invoking sendmail with the -f option. You will need to
> setup a trusted user for this though.
>
> > Should I run the web server as a different user so that the mails
> > get sent as this user instead of nobody ?
>
> If you setup the trusted user stuff in sendmail, I highly advise
> changing the uid from nobody to something else. You must also
> consider the serious possibility of someone taking advantage of
> this on you.
>
> Hope that helps, good luck.
>
> --
> Robert Hough ([EMAIL PROTECTED])
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBOmeF8UfSljpOGnYdEQIPmwCghNZ3T10g5KbYT2itN3X08sGIb10AniuR
RoAoX8G4DGlBi/S2+ty8ZvER
=GYr6
-----END PGP SIGNATURE-----
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]