From: w dot ashcroft at redfoxuk dot com Operating system: Windows PHP version: 5.2.0 PHP Bug Type: Feature/Change Request Bug description: Mail Function Abuse
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 -- Edit bug report at http://bugs.php.net/?id=40102&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40102&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40102&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40102&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40102&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40102&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40102&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40102&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40102&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40102&r=support Expected behavior: http://bugs.php.net/fix.php?id=40102&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40102&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40102&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40102&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40102&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40102&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40102&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40102&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40102&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40102&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40102&r=mysqlcfg