Re: Cron sending to root after changing MAILTO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



It’s being rejected before it even reaches the mailbox, so forwarding won’t work.  Crond should really be using the MAILTO variable and it’s not.

 


---
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/

 

---

Disclaimer: This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

 

From: CentOS <centos-bounces@xxxxxxxxxx> on behalf of "hns1@xxxxxxxxxxxx" <hns1@xxxxxxxxxxxx>
Reply-To: CentOS mailing list <centos@xxxxxxxxxx>
Date: Wednesday, July 19, 2017 at 4:13 PM
To: CentOS mailing list <centos@xxxxxxxxxx>
Subject: Re:  Cron sending to root after changing MAILTO

 

 

 

----- Original Message -----

From: "CentOS mailing list" 

To:"CentOS mailing list" 

Cc:

Sent:Wed, 19 Jul 2017 20:46:21 +0000

Subject: Cron sending to root after changing MAILTO

 

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.

 

The quick fix for such issues is to put a .forward file in the /root

folder containing your target e-mail address, ecssupport@xxxxxxxxx

 

 

_______________________________________________

CentOS mailing list

CentOS@xxxxxxxxxx

https://lists.centos.org/mailman/listinfo/centos

 

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




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux