From owner-freebsd-isp Tue Aug 13 12: 7:32 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 89E6837B400 for ; Tue, 13 Aug 2002 12:07:30 -0700 (PDT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03F5643E6E for ; Tue, 13 Aug 2002 12:07:30 -0700 (PDT) (envelope-from kevin@caomhin.demon.co.uk) Received: from caomhin.demon.co.uk ([62.49.21.186]) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17eh0q-000IMO-0U; Tue, 13 Aug 2002 20:07:28 +0100 Message-ID: Date: Tue, 13 Aug 2002 20:07:21 +0100 To: jc@irbs.com Cc: francisv@dagupan.com, freebsd-isp@freebsd.org From: Kevin Golding Subject: Re: Setting default e-mail sender on Apache References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> <20020813173325.GA42094@exuma.irbs.com> In-Reply-To: <20020813173325.GA42094@exuma.irbs.com> MIME-Version: 1.0 X-Mailer: Turnpike Integrated Version 5.01 U 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 Someone, quite probably John Capo, once wrote: >Quoting Kevin Golding (kevin@caomhin.demon.co.uk): >> >> In each virtual hosts' config section include the line: >> php_value sendmail_from user@their.domain >> > >Unless the manual is wrong, for Windows only: > > http://www.php.net/manual/en/ref.mail.php > >I tried this option a few months back and it was a nop on *nix. A cursory test suggests the manual is right, I'd just always seen it in phpinfo() and assumed it actually had some bearing, my bad. :-( However on that page it does include the following user(anon.) comment: =================================== As noted above sendmail_from is only used on MS Windows, to change the default sender on unix you must add -f to sendmail_path. For example in a directive: php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f webmaster@example.com" would set the default return-path for mail from that virtual host. ==================================== Kevin -- kevin@caomhin.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message