Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26963 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5736 invoked by uid 1010); 14 Dec 2006 20:48:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5720 invoked from network); 14 Dec 2006 20:48:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Dec 2006 20:48:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3788] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/44-14414-798B1854 for ; Thu, 14 Dec 2006 15:48:24 -0500 Received: (qmail 75821 invoked by uid 98); 14 Dec 2006 20:48:23 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/2330. Clear:RC:1(127.0.0.1):. Processed in 0.074878 secs); 14 Dec 2006 20:48:23 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.074878 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 14 Dec 2006 20:48:22 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 14 Dec 2006 14:48:22 -0600 (CST) Message-ID: <4578.216.230.84.67.1166129302.squirrel@www.l-i-e.com> In-Reply-To: <002c01c71f69$a77924f0$64c8a8c0@balefirehome> References: <10536315-883E-4C1A-AF35-386DF4D73F84@prohost.org> <002c01c71f69$a77924f0$64c8a8c0@balefirehome> Date: Thu, 14 Dec 2006 14:48:22 -0600 (CST) To: "Sander Steffann" Cc: "PHP internals" , "Ilia Alshanetsky" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] mail() logging for PHP From: ceo@l-i-e.com ("Richard Lynch") On Thu, December 14, 2006 4:21 am, Sander Steffann wrote: >> Is there any interest in adding support for logging of mail() calls >> and/or adding options that allow identification of who sent the >> e-mail. >> >> I've wrote a quick patch that enables this functionality via two ini >> settings controllable via php.ini or per-virtual host. > > Hehe. I was just starting to work on exactly the same, Thanks for > saving me > the work :) So, yes, I would realy like this extra logging! Would the logfile also include the Message-ID generated by SMTP or sendmail or whatever?... I should think that for fixing broken scripts that accidentally leak, this would be very useful. Obviously for somebody intentionally spamming, it's not all that, as they probably are messing with Message-ID as well. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?