View Full Version : [ubuntu] starting fetchmail daemon at boot ?
pdc124
June 27th, 2009, 06:18 PM
so i can retrieve my POP mail with fetchmail and a ~/.fetchmailrc file with a --set daemon 180
how do I ensure the daemin is started on a reboot ?
HermanAB
June 27th, 2009, 06:25 PM
The lazy way is to add your start-up commands to the bottom of rc.local
AlexBooton
November 1st, 2011, 03:56 PM
The lazy way is to add your start-up commands to the bottom of rc.local
I'm still having a problem. Fetchmail is not starting at boot.
Here the line in my /etc/rc.local
fetchmail -d 60 -f /etc/fetchmailrc
When I run this from the terminal I get:
File /etc/fetchmailrc must be owned by you.
Here's ls -l /etc/fetchmailrc:
-rw------- 1 fetchmail root 3416 2011-10-17 22:36 /etc/fetchmailrc
So I have an identical copy in /root. Here's what ls -l /root/fetchmailrc looks like:
-rw------- 1 root root 3416 2011-10-17 22:36 /root/fetchmailrc
But I don't want to run this from a terminal anyway. I want it to start at boot.
What am I doing wrong?
Thanks
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.