On Tue, Dec 16, 2003 at 02:05:04PM -0700, Brent Wiese wrote:
> Just in case anyone was following this thread, "esmtp" in the ports works
> beautifully.
Has that sorted you out then?

I was thinking you could make use of the php.ini setting:

sendmail_path 

to set the sendmail_path on a per-user / vhost basis in your httpd.conf
file:

<virtualhost ip:port>
        servername domain.com
        ... other directives
        php_admin_value sendmail_path "sendmail -f [EMAIL PROTECTED]"
</virtualhost>

For this to work in Exim - sorry don't know about postfix - you'd need
to add the user the httpd was running as (www) as a 'trusted_user' in
the Exim config - no doubt this would be the same in postfix.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - personal weblog
http://ipfwstats.sf.net/        - ipfw peruser traffic logging
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to