Spamming is a known problem for every host, and adding information in header for the emails sent by php is a great way to track down spamming script.
Cpanel has this option to select in easyapache.
You can go to WHM>>Easy apache,
Exhaustive Options list >> MailHeaders
Select it and recompile apache and php, and after that every emails generated from a php script will have an entry of generation script and its path. And you can shutdown infected account to solve the problem.
Enjoy !!!
Comment Policy:
Your words are your own, so be nice and helpful if you can. Please, only use your real name, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.