Re: Initialization Script - Fetchmail

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

 



On Thu, Mar 17, 2005 at 08:05:00AM -0800, Matt Florido wrote:
> I'm running fetchmail as a daemon.  I've created a script in /etc/init.d
> to start/stop fetchmail.  I basically took a pre-existing script and
> modified it for fetchmail.  ./etc/init.d/fetchmail start/stop/restart
> works with no issues.
> 
> After I created the script, I added fetchmail to ntsysv.  I believe I
> created a symbolic link in rc5.d as well. S96fetchmail ->
> ../init.d/fetchmail
> 
> The problem is when the server is restarted, fetchmail is not initialized.
>  What am I missing?

As a sanity check, make sure you are invoking fetchmail with the daemon
mode option turned on:
#######################################################################
DAEMON MODE
       The --daemon <interval> or -d <interval> option runs fetchmail
in daemon mode. You must specify a numeric argument which is a polling
interval in seconds.

       In daemon mode, fetchmail puts itself in background and runs
forever, querying each specified host and then sleeping for the given
polling interval.

       Simply invoking

              fetchmail -d 900

will, therefore, poll all the hosts described in your ~/.fetchmailrc
file (except those explicitly excluded with the `skip' verb) once every
fifteen minutes.
#######################################################################

-- 
Jargon file, abrgd.: The September that never ended. On the Internet,
every September's freshmen influx got their first accounts and, not
knowing how to post/email, always made a nuisance of themselves. Usually
they were trained in a few months. But in September 1993, AOL users
became able to post, overwhelming the capacity to acculturate them; to
those who recall the period before, this triggered a decline in the
quality of online communications. Syn. eternal September.

http://kinz.org
http://www.fedoranews.org
Jeff Kinz, Emergent Research, Hudson, MA.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux