>>>>> "ck" == Craig Kattner <[EMAIL PROTECTED]> writes:

ck> OK, having finally got fetchmail and sendmail working right I would like
ck> to be able to start up fetchmail as a daemon when my system starts. I
ck> figured (erroneously) that I could just put "fetchmail -f
ck> /etc/fetchmailrc" into rc.local. I've got the /etc/fetchmailrc setup to
ck> start fetchmail in daemon mode and it snags mail from the proper accounts
ck> and such, but on starting the machine up it asks for a password for root
ck> and running ps aux | grep fetch reveals no fetchmail is running. Is there
ck> anyway for me to do this? Or must I start it manually everytime the system
ck> boots?

Well you could put something like this in your .Xclients or .xinitrc
file to start fetchmail when you login only, or in /etc/rc.d/rc.local
if you want it running everytime it boots:

/usr/bin/fetchmail -d 3600 &

This will run fetchmail in the daemon mode and fetch you mail once
every hour. Change the time to suit your demands.

Good luck,


-- 
Curtis Consulting
mailto:[EMAIL PROTECTED]
http://www.clark.net/pub/ray
====================
Is it NOUVELLE CUISINE when 3 olives are struggling with a scallop in a
plate of SAUCE MORNAY?


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to