Title: FCron + Smarthost <-- Possible Bug? Post by: BKJ on Sunday 02 March 2008, 01:53:33 pm Hello,
I am using "Community release 2.2.beta3" and have a question in reguards to EFW sending fcron generated emails to the smarthost in my setup. I have tried to edit the fcron jobs using fcrontab -e which results in an error (from a security point this is great). I would like to edit a few of the jobs and have them not send mail (seems that setting the av to update every hour is the casue of the hourly emails - for now i changed this to daily). How does one edit the fcron jobs to prevent the sending of mail? Here are the fcron jobs: 21:18:14 listing root's fcrontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # &nolog */1 * * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.minutely &nolog */5 * * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.cyclic 01 * * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.hourly <----- would like to set this to no email 25 1 * * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.daily <---- would like to set this to no email 47 2 * * 0 [ -x /bin/run-parts ] && run-parts --report /etc/cron.weekly 52 3 1 * * [ -x /bin/run-parts ] && run-parts --report /etc/cron.monthly # @nolog 5 [ -x /bin/run-parts ] && run-parts --report /etc/anacron.cyclic @ 1h [ -x /bin/run-parts ] && run-parts --report /etc/anacron.hourly @ 1d [ -x /bin/run-parts ] && run-parts --report /etc/anacron.daily @ 1w [ -x /bin/run-parts ] && run-parts --report /etc/anacron.weekly @ 1m [ -x /bin/run-parts ] && run-parts --report /etc/anacron.monthly # Summarize ip accounting info: 2 1 * * * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the day 2 days ago" >/dev/null 3 1 * * 0 /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the week 4 weeks ago" >/dev/null 4 1 1 2 * /usr/sbin/ipacsum -r -H `/bin/hostname` -t "the year 2 years ago" >/dev/null 57 23 * * * [ -x /usr/lib/cron/logrotate.cron ] && /usr/lib/cron/logrotate.cron Any ideas on this? In addition, the cron log states the following: Feb 29 23:01:00 fcron Job [ -x /bin/run-parts ] && run-parts --report /etc/cron.hourly started for user root (pid 22435) Feb 29 23:01:39 fcron Job [ -x /bin/run-parts ] && run-parts --report /etc/cron.hourly completed (mailing output) Feb 29 23:01:39 fcron Can't find "no". Trying a execlp("sendmail"): No such file or directory <--- whats this error about |