Forward all root email to an external email address

There are two easy ways of doing this.

First, you could set up a forward for the root email account. All emails to root will be forwarded.

`echo "you@yourmail.com" > /root/.forward`

OR, Secondly, set up an alias for root as an external email address

  echo "root: you@yourmail.com" >> /etc/aliases && newaliases

Beware that you only have one entry for root in the /ect/aliases file

done

Leave a Reply

Your email address will not be published. Required fields are marked *