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!

PHP and sendmail_path

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

  1. tribal

    tribal Member

    Joined:
    Sep 11, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    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 vhost@admin.email.address"

    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice