Re: PHP 4.0 Bug #10343 Updated: Mail function does not work ...
| From: | Andi Gutmans | Date: | Fri, 27 Apr 2001 10:34:38 +0000 |
| Subject: | Re: PHP 4.0 Bug #10343 Updated: Mail function does not work ... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52568@lists.php.net to get a copy of this message | ||
Yeah but doesn't this function use sendmail with is suid root?
Andi
At 08:13 AM 4/27/2001 +0000, fabian@arrfab.net wrote:
ID: 10343 User Update by: fabian@arrfab.net 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] fabian@arrfab.net 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: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net