I want to change the sendmail_path to /usr/sbin/sendmail -t -i. I have changed the php.ini file from HestiaCP - PHP settings, but when I run phpinfo() function it still displays as: /usr/sbin/sendmail -t -i -f [email protected]. I want to edit the [email protected] to set the proper email and change sendmail_path. Where I can find this file location? Thank you.
OK. To change admin email, I have to edit the apache config file: /etc/apache2/sites-available/000-default.conf. Also, I have found a solution: grep sendmail_path /etc/php/7.X/fpm/pool.d/DOMAIN.TLD.conf to change the sendmail_path.
The issue is resolved. Thank you.
You shouldnât change the pool config file directly, it will get overwritten if you make any changes to that domain in the panel or when hestiacp updates. You should create a new php template for it and change that directive there.
Templates are in /usr/local/hestia/data/templates/web/php-fpm directory(at least it is for my installation which is nginx only, but yours should be somewhere around the same area), the php template will be PHP-7_X.tpl, copy it into a new file and change the line:
Ok . I have created custom-PHP-7_X.tpl file with all required changed. I would like to know: HestiaCP supports AfterLogic mail client or only RoundCube? Thank you.