Hello,
We have a problem with users using misconfigured PHP scripts to don't pass the return address correctly sending mail out from the servers hostname. I have asked cPanel developers if they have a way around this, they said no. I disagree, I beleive it should be possible by making additions to the cPanel vhost template, however the setting I want to add isn't working.
I started by adding the following line to httpd.conf and the virtual host include file:
Code:
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/walttest:/usr/lib/php:/usr/local/lib/php:/tmp"
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f from@what.ever"
</IfModule>
However it doesn't get applied as seen here -->
http://testing.amihost.com/info.php
The only way I can get the setting to actually apply is by placing a php.ini in the user's public_html with the setting, making my goal of the template edit not possible. Is this becuase of mod_suPHP? Does anyone know how I can set the sendmail_path variable via httpd.conf or a vhost include file?
Recent comments
7 hours 50 min ago
8 hours 50 min ago
12 hours 37 min ago
13 hours 51 min ago
17 hours 27 min ago
1 day 42 min ago
1 day 9 hours ago
1 day 11 hours ago
2 days 2 hours ago
2 days 4 hours ago