[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sendmail
Subject:    Re: fetchmail sending mail to root
From:       "Ivan Carey" <icarey () bigpond ! com>
Date:       2003-03-06 11:33:05
[Download RAW message or body]

Thanks this fixed the mails.
What is the best way to start fetchmail when the computer boots? and then
running a fetchmail job in a crontab

Ivan

"Andrzej Filip" <anfi@Box43.pl> wrote in message
news:3E67199B.9050400@Andrzej.Adam.Filip...
> Ivan Carey wrote:
> > Hello,
> > When I invoke fetchmail from root's crontab it sends root an email
saying
> > that it has done a fetch.
> > crontab entry:
> >     0,30,59 * * * * /usr/local/bin/fetchmail
> >
> > Is there a way to stop getting these messages each time fetchmail starts
>
> IMHO it is not necessary to run fetchmail as root (it creates potential
> security risk)
>
> Start fetchmail with "--logfile filename" option. It should make
> fetchmail write its notifications to filename instesd of stdout/stderr.
> Cron send stdout/stderr ouptut of executed jobs via email
> (good exit code and no output => no mail)
>
> -- 
> Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
> reaction==action *Random epigram* :
> He hath eaten me out of house and home.
> -- William Shakespeare, "Henry IV"
>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic