Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP and sendmail_path

Discussion in 'E-mail Discussions' started by tribal, Apr 10, 2008.

  1. tribal

    tribal Member

    Sep 11, 2006
    Likes Received:
    Trophy Points:
    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"

    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.


    Kevin Thompson

Share This Page