After uninstalling PostFix and reinstalling sendmail, my cron jobs stopped running. Now they are running again but the logwatch and arpwatch files are not being mailed to root.
My logwatch.conf file is as follows:
LogDir = /var/log
MailTo = root
Print = No
Range = yesterday
Detail = 10
Service = All
mailer = /bin/mail
---------------------------
My crontab file is as follows:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
----------------------------------------------
What else do I need to look at? Are these files correct or not?
My logwatch.conf file is as follows:
LogDir = /var/log
MailTo = root
Print = No
Range = yesterday
Detail = 10
Service = All
mailer = /bin/mail
---------------------------
My crontab file is as follows:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
----------------------------------------------
What else do I need to look at? Are these files correct or not?