PHP and sendmail_path

tribal

Member
Sep 11, 2006
22
0
151
I would like to configure every vhost on our server such that php runs with the configuration directive:

php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f [email protected]ess"

Ideally, I would like to have cpanel automagically change the address to each accounts contacy email .. is this possible, it's a suggestion.
Alternaitively how can I add a line:

Include /path/to/each/vhost/custom/php_settings in every vhosts?

The lines needs to be in every vhost directive in httpd.conf.
Where would be the best place for me add this without cpanel|easyapache overwriting with every config change?

Have I overlooked something obvious?

I want each user to be aware of and able to deal with there own bounced mail.
It also allows accurate accounting of mail stats.


Cheers

Kevin Thompson