LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   root alias (https://www.linuxquestions.org/questions/linux-server-73/root-alias-4175525171/)

circus78 11-12-2014 06:10 AM

root alias
 
Hi,
I would like to receive mail for "root" user on every system to an external mailbox, for example: admin@mydomain.com
If I set

Code:

root: admin@mydomain.com
I am able to receive messages, but they have "root@machinehost.domain" or so as recipient.

Is it possible to send system mail directly to admin@mydomain?
I use Postfix / Exim on all my server.
Thank you

Habitual 11-12-2014 02:25 PM

check out /etc/aliases for "# Person who should get root's mail"

circus78 11-12-2014 03:00 PM

Quote:

Originally Posted by Habitual (Post 5268850)
check out /etc/aliases for "# Person who should get root's mail"

Hi Habitual, sorry, I already did this!
Thank you


All times are GMT -5. The time now is 10:17 PM.