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] ahar...@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: 
x...@zvyk.com

to:
[Sun Apr 17 18:35:55 2011] mail() on [/dir/subdir/script.php:259]: To: 
-_...@xxxxx.com -- Headers: From: x...@zvyk.com

or to(csv format):
2011-04-17; 18:35:55; mail(); /dir/subdir/script.php; 259; To: -_...@xxxxx.com; 
Headers: From: x...@zvyk.com


Expected result:
----------------
from:
mail() on [/dir/subdir/script.php:259]: To: -_...@xxxxx.com -- Headers: From: 
x...@zvyk.com

to:
[Sun Apr 17 18:35:55 2011] mail() on [/dir/subdir/script.php:259]: To: 
-_...@xxxxx.com -- Headers: From: x...@zvyk.com



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=54550&edit=1

Reply via email to