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

Re: cron problem



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 17, 2020 4:48 PM, David Wright <deblis@lionunicorn.co.uk> wrote:

> OK, I thought you might list both. I'm not actually sure where output
> goes because I always have MAILTO set, which takes care of it.

Since I don't know what MAILTO is, I suspect I've never had to have it set before:-)

I looked around and found 'mailto's (LC) in my amanda config (it points at root@localhost -- the amanda cron job script's another thing that's missing). But nowhere else.

Is MAILTO an environmental var? There's no MAILTO in 'env' when root or backup (the amanda user) or ghe (me). There's a MAIL in the users' environments, but I don't think that's what you're talking about. It's pointed at /var/mail/<user> anyway.

> Have you checked the logs? I see lines in both auth.log and syslog
> whenever cron jobs run, and even when I just look with crontab -l.

I just looked at syslog and auth, and I don't see anything that looks like email in there. And I sent crontab -l earlier -- nothing in there either.

What should I see?

----

Never mind, at least for a bit. I just found that the SMTP server is bent...

--
Glenn English


Reply to: