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

Re: cron problem



On Sun, May 17, 2020 at 11:21:11AM -0600, ghe wrote:
> > Cron jobs (some of them) don't show up in root's email.

Which MTA are you using, and how did you configure its behavior for
mail addressed to "root"?

Some MTAs will deliver literally to root's inbox (/var/mail/root or
some other place).  Others will refuse to deliver to root, and will
insist that you alias root to an unprivileged user.

It's extremely possible that you've already aliased root to some other
user, and have forgotten that you did this.  Thus, you're looking in
the wrong place.

What happens if you run "echo test | mailx root"?  Where does the mail
go in that case?  Mail from cron follows an almost identical delivery
path, so you can use this to test the basic MTA functionality before
bringing cron into the picture.


Reply to: