|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10343 Mail function does not work ...
Submitted: 2001-04-16 09:33 UTC Modified: 2001-04-27 04:14 UTC
From: fabian at arrfab dot net Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.4pl1 OS: Linux Mandrake 7.2
Private report: No CVE-ID: None
 [2001-04-16 09:33 UTC] fabian at arrfab dot 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.




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-27 04:13 UTC] fabian at arrfab dot net
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 ...

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Jan 29 13:03:42 2023 UTC