Yeah but doesn't this function use sendmail with is suid root? Andi At 08:13 AM 4/27/2001 +0000, [EMAIL PROTECTED] wrote: >ID: 10343 >User Update by: [EMAIL PROTECTED] >Status: Open >Bug Type: Mail related >Description: Mail function does not work ... > >OK, I've found it ! >Like i say in the previous message, it was a security problem. By >default, only the user root and the user mail were able to use the >/var/spool/mail directory ! > >So, changed the security on this folder and the mail funtion works now ... > > > >Previous Comments: >--------------------------------------------------------------------------- > >[2001-04-16 09:33:52] [EMAIL PROTECTED] >OK, i know that i'm not the only one to have this little problem whit PHP >4.04pl1. >In fact, when you want to use the mail function, it doesn't work : you do >not receive any mail or errors ! >But when i look at the Syslog, it seems that's a security problem : > >f3GDFxv24454: SYSERR(apache): Can't create transcript file >./xff3GDFxv24454: Permission denied >f3GDFxv24454: SYSERR(apache): Cannot create ./dff3GDFxv24454: Permission >denied >f3GDFxv24454: from=apache, size=0, class=0, nrcpts=0, relay=apache@localhost > >Very strange isnt'it ? A mail from apache(the user account used to run >http daemon) with no recipient and no mail data ! > >Can someone help me ? This would be the solution for a lot of people >having the same problem. > >Thanks. > >Fabian. > > >--------------------------------------------------------------------------- > > >Full Bug description available at: http://bugs.php.net/?id=10343 > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] >To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]