Index: [Article Count Order] [Thread]

Date:  Fri, 24 Feb 2006 08:53:18 -0500 (EST)
From:  "Brian N. Smith" <brian (at mark)>
Subject:  [coba-e:04167] Re: Sendmail Problem on NuOnce install
To:  coba-e (at mark)
Message-Id:  <Pine.LNX.4.63.0602240851100.24375 (at mark)>
In-Reply-To:  <43FEF521.2040304 (at mark)>
References:  <097601c63934$a6a60aa0$0900a8c0 (at mark) workstation1> <43FEF521.2040304 (at mark)>
X-Mail-Count: 04167

> What kind error did you get?
> Please check /var/log/maillog and send to maillist.


It is probably the same error with CGI scripts.  The "-f xxx" is needed. 
But, in PHP, you can do it globally.

#1 - Figure out where your php.ini is.  The "default" is /etc/php.ini
#2 - Search for these lines

; For Unix only.  You may supply arguments as well (default: "sendmail -t 

Below that, add this:

sendmail_path = /usr/sbin/sendmail -t -i -f admin

the "-f admin" is needed.

#3 Then, restart httpd

service httpd restart

#4 Try your email app again.