Now I'm interested in the emails cron sends.  Currently in /etc/crontab
there is:

SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
-*/15 * * * *   root  test -x /usr/lib/cron/run-crons &&
/usr/lib/cron/run-crons >/dev/null 2>&1

so mail is going to "root".  How/where do I set up emails to go to some
external email address? Presumably more than changing MAILTO= is
required - an smtp server needs to be specified somewhere?

Or alternatively, can I access the emails currently being sent to "root"
despite this not being a real email address?

(I am googling, but not found anything useful so far...)

Cheers,
Roger

(interesting that PATH includes /sbin which didn't help with my shutdown
issue earlier!)

Reply via email to