php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40102 Mail() Function Abuse Tracking
Submitted: 2007-01-11 22:16 UTC Modified: 2009-02-02 11:44 UTC
Votes:116
Avg. Score:5.0 ± 0.0
Reproduced:115 of 115 (100.0%)
Same Version:45 (39.1%)
Same OS:50 (43.5%)
From: w dot ashcroft at redfoxuk dot com Assigned: iliaa (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 4.x.x, 5.x.x, 6.x.x OS: All
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: w dot ashcroft at redfoxuk dot com
New email:
PHP Version: OS:

 

 [2007-01-11 22:16 UTC] w dot ashcroft at redfoxuk dot com
Description:
------------
This isnt a bug as such, but rather a change that is desperatly needed to the mail() function. Currently when this is abused there is NO WAY to track which user/website/IP is abusing the function - what we really need is for PHP to insert an header that cannot be removed by the website administrator (possibly a setting in php.ini to enabled this email header tracking feature by the system administrator).

This header will contain information that will help the system admin track the abuser; such a patch that works very well (and is VERY simple to implement) can be found here:

http://www.lancs.ac.uk:8080/~steveb/patches/php-mail-header-patch/

...it is a real headache for the system administrators that really need this change to have to recompile PHP.

Reproduce code:
---------------
NA

Expected result:
----------------
NA

Actual result:
--------------
NA

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-16 15:35 UTC] paul at pwnewmedia dot com
I agree, this is very much needed and would help a lot in the battle against spam!
 [2007-06-17 15:06 UTC] w dot ashcroft at redfoxuk dot com
Updated to all OS's.
 [2008-08-25 19:44 UTC] w dot ashcroft at redfoxuk dot com
More information about this patch can be found at:

http://choon.net/php-mail-header.php
 [2009-02-02 11:44 UTC] pajoye@php.net
a mail logging functionality that allows logging of mail sent via mail() function has been implemented in 5.3.0 (from beta1), thx to Ilia.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Nov 06 17:01:48 2024 UTC