Track what PHP script sent an email on your cPanel server

There is a patch available from choon.net which forces PHP scripts to store the script name and location in the mail headers when using the mail() function. The below instructions will give you the details needed to add this patch to your cPanel server: Log into the server as root via ssh or the console.… Continue reading Track what PHP script sent an email on your cPanel server