Hi guys,
I'm running Plesk 10.4.4 on Ubuntu 8.04 and would like to know the best way to set the sendmail return path per domain?
It will be used via php, and I read I can add it in the virtualhost directive ..
Or should I set this in the domains /etc/php.ini file?
Thanks in advance for your help
Kind regards
Lloyd
I'm running Plesk 10.4.4 on Ubuntu 8.04 and would like to know the best way to set the sendmail return path per domain?
It will be used via php, and I read I can add it in the virtualhost directive ..
There are things involved in getting it to work outside of vBulletin. Perhaps this would be of some help.
To change the default sender on unix you must add -f to sendmail_path. For example in a <VirtualHost> directive:
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -f webmaster@example.com"
would set the default return-path for mail from that virtual host.
https://www.vbulletin.com/forum/showthread.php/87768-How-to-change-Return-Path-email-from-Nobody
Or should I set this in the domains /etc/php.ini file?
Thanks in advance for your help
Kind regards
Lloyd