[nycphp-talk] Tracking sendmail usage by PHP?
Daniel Convissor
danielc at analysisandsolutions.com
Sat Mar 18 18:11:22 EST 2006
Hi:
On Fri, Mar 17, 2006 at 03:04:07PM -0500, Ajai Khattri wrote:
> To track web server abuse, I need a way of logging what script used
> sendmail to send out an email. I wrote a wrapper for sendmail in Perl
> and it works fine for tracking CGI scripts, but I suspect it doesn't
> work for PHP since I see empty log entries in my logs.
See the sendmail_path in php.ini. You can use your existing logger.
For those not aware of this possibility, see
http://blog.phpdoc.info/archives/20-mail-replacement-a-better-hack.html
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list