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

    Joined:
    Sep 11, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    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
     
Loading...

Share This Page