[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I run fetchmail from crontab and log to syslog? (or other log)



On Fri, 23 Mar 2007 21:14:33 -0600
Paul E Condon <pecondon@mesanetworks.net> wrote:

> the subject line is the question. creating a personal crontab was
> easy, but fetchmail running under cron sends a whole bunch of mail
> to root which, since i'm sysadmin on my own machine, clutters up
> my email.  
> 
> -- 
> Paul E Condon           
> 

I do it without incurring the excessive mail to root.

My personal account crontab:
     # Fetch mail from mail server
     */2 * * * * /usr/bin/fetchmail -s

My .fetchmailrc:
     set postmaster "raquel"
     set bouncemail
     set properties ""

     poll server.domain.com with proto POP3 timeout 300
          user "username" there with password "password" is username
here options fetchall warnings 3600;

Am I missing something?

-- 
Raquel
============================================================
True morality consists, not in following the beaten track, but in
finding out the true path for ourselves and in fearlessly following
it.
  --Mohandas Ghandi



Reply to: