PHP 4.0 Bug #10343 Updated: Mail function does not work ...
| From: | fabian at arrfab dot net | Date: | Fri, 27 Apr 2001 08:13:22 +0000 |
| Subject: | PHP 4.0 Bug #10343 Updated: Mail function does not work ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52562@lists.php.net to get a copy of this message | ||
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