Index: [Article Count Order] [Thread]

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

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

Hisao,

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 
-i").

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.

Thanks!
Brian