Change email address for root

Hi guys

How can I change the email address for user root, my cron script is emailing me from
[email protected]

I tried to update /etc/email-addresses and create an email for root, but it does not seem to work.

Any help will be appreciated.


Please note we update the config every Hestia-php release

This does not work for me.

Why it doesnt? What show up? What you’ve tried? “Doesnt work” is a bit to common to help :slight_smile:.

I tried this and the email which I setup here, does not appear in the FROM:

Add `php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f [email protected]`

to /usr/local/hestia/php/etc/php-fpm.conf