Am 19.07.2017 um 22:46 schrieb Chad Cordero:
I am running CentOS 7 on an outbound gateway server running Postfix.  I have a 
couple of cron jobs I was expecting to see in my email that never showed up.  
It turns out that they were delivered to root, which is restricted on our 
exchange server, instead of the address I defined.  Please help.

[ ... ]

Best is to define a mail alias for the root user. That way you have it defined at a single place for all occurances of mail destined to root.

To do so edit /etc/aliases at the very bottom where you find a pre-defined but commented setting:

# Person who should get root's mail
#root:          marc

Change it to

root:           ecssupp...@csusb.edu

and run `newaliases' after that change. It is always a good idea to verify that the database file, which is the one really used, has been changed and carries a new time flag.

Alexander


Chad Cordero
Information Technology Consultant

Enterprise & Cloud Services

Information Technology Services

California State University, San Bernardino
5500 University Pkwy
San Bernardino, CA 92407-2393
Main Line: 909/537-7677

Direct Line: 909/537-7281

Fax: 909/537-7141

http://support.csusb.edu/


_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to