how to change server wide php sendmail_path, when it is coded into each vhost

Discussion in 'Installation/Configuration' started by finn, Dec 3, 2010.

  1. finn

    finn New Member

    Hi guys!

    I am trying to create a sendmail wrapper as detailed here:

    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:

    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
  2. falko

    falko Super Moderator ISPConfig Developer

    You could make a backup copy of /usr/sbin/sendmail and then create a symlink from /usr/sbin/sendmail to your sendmail wrapper.
  3. finn

    finn New Member

    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?
  4. falko

    falko Super Moderator ISPConfig Developer

    AFAIK, such a function is not planned.

Share This Page