Welcome, Guest. Please login or register.
Did you miss your activation email?
Monday 23 December 2024, 02:10:37 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14262 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  FCron + Smarthost <-- Possible Bug?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: FCron + Smarthost <-- Possible Bug?  (Read 12564 times)
BKJ
Jr. Member
*
Offline Offline

Posts: 6


« 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
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com