Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Re: mail() problem


Message #1 by Eric Crump <eric@i...> on Sat, 1 Jun 2002 16:17:18 -0500 (CDT)
I'm back. Still can't get mail() to work. Thought I'd run by y'all what
I've tried & see if anybody has any ideas for something else I could try. 

Basically, what happens every time I run a script that calls mail() is the
script executes fine, but no mail gets sent. I see in the apache error log
this line every time:

"Program mode requires special privileges, e.g., root or TrustedUser."

I tried temporarily changing the script's file ownership to root and that
didn't do anything. I upgraded apache and created a new user to be the
default user it runs as, then made that user a trusted user in
sendmail.cf. Even added the script owner as a trusted user. Rebuilt
sendmail.cf, restarted sendmail, restarted apache. Didn't change a thing.

My php setup can be seen at http://www.interversity.com/phptest.php

I'm running 4.2.1 now with apache 2.0.36 and sendmail 8.12.2

Everything worked fine until I upgraded sendmail from 8.9.3 to 8.12.2 a
few weeks ago.

I'm really at a loss here. And I use mail() quite a lot, so I'm getting a
bit desperate. I'd be grateful for any suggestions or ideas. Thanks in
advance!

--Eric Crump


  Return to Index