Date: Tue, 13 Aug 2002 20:07:21 +0100 From: Kevin Golding <kevin@caomhin.demon.co.uk> To: jc@irbs.com Cc: francisv@dagupan.com, freebsd-isp@freebsd.org Subject: Re: Setting default e-mail sender on Apache Message-ID: <sZM$lyBpjVW9EwIu@caomhin.demon.co.uk> In-Reply-To: <20020813173325.GA42094@exuma.irbs.com> References: <10F29E27A956D511B0940050DA8D86A985C533@mailserver.dagupan.com> <gmKMKbB8l6V9Ewif@caomhin.demon.co.uk> <20020813173325.GA42094@exuma.irbs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <VirtualHost> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sZM$lyBpjVW9EwIu>