From owner-freebsd-isp Tue Aug 13 21: 0:40 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 BF50A37B400 for ; Tue, 13 Aug 2002 21:00:38 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95F3B43E4A for ; Tue, 13 Aug 2002 21:00:37 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2653.19) id ; Wed, 14 Aug 2002 12:03:44 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A985C546@mailserver.dagupan.com> From: francisv@dagupan.com To: jim@jwweeks.com Cc: freebsd-isp@freebsd.org Subject: RE: Setting default e-mail sender on Apache Date: Wed, 14 Aug 2002 12:03:43 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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's a user-created script using the mail() function. I've also posted a follow-up config to this list; it tells a more detailed overview of how the system was configured -----Original Message----- From: Jim Weeks To: francisv@dagupan.com Cc: freebsd-isp@FreeBSD.ORG Sent: 8/13/02 4:41 AM Subject: Re: Setting default e-mail sender on Apache 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