php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fabian at arrfab dot net
New email:
PHP Version: OS:

 

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

Thanks.

Fabian.

Patches

Pull Requests

History

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 21:01:28 2024 UTC