From owner-freebsd-isp Sun Aug 25 2:31:10 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E711537B400 for ; Sun, 25 Aug 2002 02:31:06 -0700 (PDT) Received: from hotmail.com (oe66.pav2.hotmail.com [64.4.36.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C7843E42 for ; Sun, 25 Aug 2002 02:31:06 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 25 Aug 2002 02:31:06 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: , References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> Subject: Re: Setting default e-mail sender on Apache Date: Sun, 25 Aug 2002 03:16:17 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 25 Aug 2002 09:31:06.0554 (UTC) FILETIME=[2356B1A0:01C24C1A] Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It depends on the script you are using If it is php then edit the php.ini file If it is cgi then I think the cgi pm modules will take care of it. ----- Original Message ----- From: To: Sent: Monday, August 12, 2002 05:21 PM Subject: Setting default e-mail sender on Apache > Hi, > > We have a virtual hosting machine running FreeBSD 4.6-STABLE with Apache and > PHP as a module. Our users use PHP's mail() function to send e-mail from > within the web application. However, the default sender is the user running > the web process and not the virtual host owner. How do I configure Apache > (or PHP) to use mail() as the virtual host owner and not the user running > the web process? > > Thanks! > > --- > francis a. vidal [bitstop network services] | http://www.bitstop.ph > streaming media + web hosting | http://www.keystone.ph > v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message