Sendmail customization in PHP.ini

Discussion in 'Installation/Configuration' started by Blubmann1337, Jul 7, 2023.

  1. Blubmann1337

    Blubmann1337 New Member

    Hello all,

    we are still using a ISPConfig 3.1.15, a bit old, but the update is already planned. We now have a web page with a form. The sendmail parameter under /etc/php-fpm/php81-fpm.de/webxy.conf should be adjusted. Instead of php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i -f webmaster@xyz" only php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i" should be used. Thought I write the last in the individual php.ini settings in the ISPConfig Gui, after that the template of ISPConfig is applied and I have both the first and the second parameter in the config. Then I was of the opinion that the last thing parsed in a file wins. Wrong thought, the line php_admin_value[sendmail_path] = "/usr/sbin/sendmail -t -i" is ignored. What can be done? I wouldn't like to touch the template, because then the sendmail command doesn't work properly on other websites.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Not only a bit old, but also very insecure. Several serious security bugs have been resolved in 3.2+ and later.

    I think the php_admin_value use in the custom php.ini settings has been improved later on as well, so check if updating helps for you.
     
    Blubmann1337 and ahrasis like this.
  3. Blubmann1337

    Blubmann1337 New Member

    Yeah update solved the problem
     
    Th0m likes this.

Share This Page