Req #54550 [Com]: mail.log
| From: | nicola dot avancini at gmail dot com | Date: | Wed, 21 Aug 2013 10:54:08 +0000 |
| Subject: | Req #54550 [Com]: mail.log | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-181090@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54550&edit=1
ID: 54550
Comment by: nicola dot avancini at gmail dot com
Reported by: mv at zvyk dot com
Summary: mail.log
Status: Wont fix
Type: Feature/Change Request
Package: Mail related
Operating System: Linux 2.6.31-gentoo-r
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
The reason is a very useful system for trace shell script injection used for
spam..
Previous Comments:
------------------------------------------------------------------------
[2011-04-19 08:06:32] aharvey@php.net
I don't see any reason to complicate what's meant to be a simple debugging aid with
different output formats.
------------------------------------------------------------------------
[2011-04-17 19:04:06] mv at zvyk dot com
Description:
------------
---
From manual page: http://www.php.net/mail.configuration
---
[mail function]
;as well as it is
mail.log = /filename.log
;log record format (to add timestamp | full date ...)
.
.
;log in csv??
mail.log_format = [default|csv|...]
=====================================
from:
mail() on [/dir/subdir/script.php:259]: To: -_-@xxxxx.com -- Headers: From: xxx@zvyk.com
to:
[Sun Apr 17 18:35:55 2011] mail() on [/dir/subdir/script.php:259]: To: -_-@xxxxx.com -- Headers:
From: xxx@zvyk.com
or to(csv format):
2011-04-17; 18:35:55; mail(); /dir/subdir/script.php; 259; To: -_-@xxxxx.com; Headers: From:
xxx@zvyk.com
Expected result:
----------------
from:
mail() on [/dir/subdir/script.php:259]: To: -_-@xxxxx.com -- Headers: From: xxx@zvyk.com
to:
[Sun Apr 17 18:35:55 2011] mail() on [/dir/subdir/script.php:259]: To: -_-@xxxxx.com -- Headers:
From: xxx@zvyk.com
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54550&edit=1