Hi guys! I am trying to create a sendmail wrapper as detailed here: http://www.howtoforge.com/how-to-log-emails-sent-with-phps-mail-function-to-detect-form-spam But changing the server wide sendmail_path in php.ini has no effect, as in each vhost definition, there is a local override like so: Code: php_admin_value sendmail_path "/usr/sbin/sendmail -t -i [email protected]" I guess this is created by ISPConfig, so how to I get ISPConfig to reconfigure all vhosts with a custom sendmail_path ? I'm running ISPConfig 3.0.3, Ubuntu 2.6.31-22-server
You could make a backup copy of /usr/sbin/sendmail and then create a symlink from /usr/sbin/sendmail to your sendmail wrapper.
Thanks for that Falko, I guess that's the best way to proceed. I was hoping that there might be a 'reconfigure vhosts' script which would pick up changes from the php.ini and propagate them to the vhost definitions. Any plans for that sort of functionality in future?