RE: [PHP3] "Unprivileged user" recipient using MAIL() function From: Stunt Pope (markjr <email protected>)
Date: 09/11/98

On 11-Sep-98 wj gilmore wrote:
> Hi all.
>
> I have used PHP3.0's MAIL() function to construct a web based mail
> administrator. (http://io.incluso.com "Your Personal Postman" Issue#6)
>
> However, I can't understand why, when messages are received, they are
> addressed to "Unprivileged User" instead of the actual user address.
>

They are addressed *to* unpriviledged user? Then I have no idea. If what
you actually mean was thay come addressed *from* unpriviledged user it's
probably because the webserver runs as user nobody on a freebsd box.

You can get around this by making the uid the webserver runs as a trusted
user to sendmail and then invoking sendmail with the -f switch. Dunno
if the php mail() function is capable of doing the same.

-mark

---
Mark Jeftovic                   http://www.shmOOze.net/~markjr
Private World Communications:   http://www.PrivateWorld.com
Be the Master of Your Domain:   http://www.easyDNS.com

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3