Some processes on my server send mail to various system accounts which all goes to root on the local machine. I want the root account to be an alias for my (external) email address. I'm using exim4 version 4.86_2
I have the following in /etc/aliases:
mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse: root noc: root security: root root: firstname.lastname@example.org
I've run the "newaliases" command, but when I send a mail to "root" it goes to root@localdomain.
How can I make the server read /etc/aliases or send system mail out to an external email address?