From owner-freebsd-isp Mon Aug 12 13:41:50 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 81C1237B400 for ; Mon, 12 Aug 2002 13:41:47 -0700 (PDT) Received: from stealth.siteplus.com (ns1.siteplus.com [66.129.2.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB15C43E65 for ; Mon, 12 Aug 2002 13:41:46 -0700 (PDT) (envelope-from jim@jwweeks.com) Received: from veager.jwweeks.com (pcp01076331pcs.midval01.tn.comcast.net [68.59.219.194]) by stealth.siteplus.com (8.12.5/8.12.5) with ESMTP id g7CKfUmm096581; Mon, 12 Aug 2002 16:41:31 -0400 (EDT) (envelope-from jim@jwweeks.com) Date: Mon, 12 Aug 2002 16:41:31 -0400 (EDT) From: Jim Weeks To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Setting default e-mail sender on Apache In-Reply-To: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> Message-ID: <20020812163626.J536-100000@veager.jwweeks.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Mon, 12 Aug 2002 francisv@dagupan.com wrote: > 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? When you say "web application" do you mean some form of webmail, or individual user created scripts? The reason I ask is, I have been working on squirrelmail for the past few days and have come up with a very simple virtual host installation that works very well (very clean headers). Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message