Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3237 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96069 invoked from network); 4 Jul 2003 02:36:39 -0000 Received: from unknown (HELO mail3.panix.com) (166.84.1.74) by pb1.pair.com with SMTP; 4 Jul 2003 02:36:39 -0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mail3.panix.com (Postfix) with ESMTP id 781E69960A for ; Thu, 3 Jul 2003 22:31:46 -0400 (EDT) Received: (from eravin@localhost) by panix5.panix.com (8.11.6p2/8.8.8/PanixN1.1) id h642Vkw18486 for internals@lists.php.net; Thu, 3 Jul 2003 22:31:46 -0400 (EDT) Date: Thu, 3 Jul 2003 22:31:46 -0400 To: internals@lists.php.net Message-ID: <20030704023146.GB17192@panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Y-Z: 1, 2, 3? Subject: Mail sent from safe mode missing Apache environment? From: php@eravin.users.panix.com (Ed Ravin) I've got Apache 1.3.27 with PHP 4.3.0 on NetBSD 1.5.3. When a PHP program running in safe mode calls the mail() function to send mail, the usual Apache environment variables like SCRIPT_FILENAME and REMOTE_ADDRESS are not exported. This is a problem since I need to log which CGI and remote host are responsible for the outgoing mail, since all sendmail knows is that user "nobody" sent it out. Are there any build or configuration tweaks that might help me? Or is this a bug, and if so, where do I report it to? Thanks, -- Ed