Index: [Article Count Order] [Thread]

Date:  Fri, 24 Feb 2006 15:30:37 -0000
From:  "Andy" <andy (at mark) wyreboatac.co.uk>
Subject:  [coba-e:04172] Re: Sendmail Problem on NuOnce install
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <09ef01c63957$44f25cf0$0900a8c0@workstation1>
References:  <097601c63934$a6a60aa0$0900a8c0 (at mark) workstation1> <43FEF521.2040304 (at mark) alpha.or.jp> <Pine.LNX.4.63.0602240851100.24375 (at mark) mail.nuonce.net>
X-Mail-Count: 04172

Thats sorted it Brian. Many thanks for that. Was this somthing that should 
have been there already or perhaps a security hole i'm opening or is it 
somthing i should have known already. I'm resonably new to this, i'm just 
glad there are so many nice helpful people out there willing to help.

Only other thing i noticed tho, when restarting httpd i got a bit list of 
errors :

[Fri Feb 24 14:49:41 2006] [warn] NameVirtualHost 82.***.***.***:80 has no 
VirtualHosts
[Fri Feb 24 14:49:41 2006] [warn] NameVirtualHost 82.***.***.***:80 has no 
VirtualHosts
[Fri Feb 24 14:49:41 2006] [warn] NameVirtualHost 82.***.***.***:80 has no 
VirtualHosts
[Fri Feb 24 14:49:41 2006] [warn] NameVirtualHost 82.***.***.***:80 has no 
VirtualHosts
[Fri Feb 24 14:49:41 2006] [warn] NameVirtualHost 82.***.***.***:80 has no 
VirtualHosts

Thanks

Andy




----- Original Message ----- 
From: "Brian N. Smith" <brian (at mark) nuonce.net>
To: <coba-e (at mark) bluequartz.org>
Sent: Friday, February 24, 2006 1:53 PM
Subject: [coba-e:04167] Re: Sendmail Problem on NuOnce install


>> 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
>
>
>