httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] need to alter FROM address when sending with PHP forms
Date Fri, 08 Jun 2007 02:42:51 GMT
On 08/06/07, Dylan Bouterse <xtremetoonz@gmail.com> wrote:
> If this is
> definitely NOT an apache problem, please let me know and I will move
> on from there. Thank you.

It isn't an apache problem (apache doesn't send mail unless you do
highly specialised tricks with it). But anyway try this for giggles.

php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f vhost@domain.com"

With that set on a per-vhost basis you should be able to distinguish
the sender address. Assuming you're calling the sendmail binary rather
than using smtp from php, the trick is to pass the right options to
the mta.

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message