Hi,
I'd like to forward root mails (like cron job results) to multiple recipients.
How can I do that?
Putting 2 addresses in /root/.forward doesn't seem to work.
edit: Solved: Just put the recipients in
/etc/aliases as follows:
Code:
# This is the aliases file - it says who gets mail for whom.
#
# >>>>>>>>>> The program "newaliases" will need to be run
# >> NOTE >> after this file is updated for any changes
# >>>>>>>>>> to show through to sendmail.
#
# It is probably best to not work as user root and redirect all
# email to "root" to the address of a HUMAN who deals with this
# system's problems. Then you don't have to check for important
# email too often on the root account.
# The "\root" will make sure that email is also delivered to the
# root-account, but also forwared to the user "joe".
root: user1, user2
...