Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 1999 01:26:59 +0100
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        Brian Somers <brian@awfulhak.org>
Cc:        questions@freebsd.org, freebsd-users@dogma.freebsd-uk.eu.org
Subject:   Re: How to stop fetchmail(1)
Message-ID:  <19990907012659.A280@marder-1>
In-Reply-To: <199909062324.AAA29092@keep.lan.Awfulhak.org>; from Brian Somers on Tue, Sep 07, 1999 at 12:24:29AM %2B0100
References:  <19990906193606.D281@marder-1> <199909062324.AAA29092@keep.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 07, 1999 at 12:24:29AM +0100, Brian Somers wrote:
> > The manpage shows ``fetchmail --quit'' as the way to kill the
> > fetchmail daemon but it doesn't state *how* it kills it. Does it
> > just kill the daemon unconditionally or, and I suspect this is the
> > case, if fetchmail is currently getting mail does it wait until
> > the daemon goes back to the idle state before killing it?
> 
> Fetchmail seems to be very reliable in background mode.  With my arms 
> closed and my eyes tied behind my head,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sounds like too much Guinness to me Brian:)

> I'd guess that it finishes 
> downloading the current message and exits cleanly..... or in the 
> worst case, it just drops the half-downloaded data on the floor 
> knowing that it'll stay on the server anyway.
> 
> I often remove the transport from under fetchmail and haven't seen 
> any suspicious duplicates (or ``holes'') yet.
> 

OK. I have it set up to start (``fetchmail -d 30'') in ppp.linkup
and ``shell fetchmail --quit'' in ppp.linkdown. From what you are
saying I may as well just start the daemon in /etc/rc.conf and not
bother stopping it when closing ppp, would you agree?

> > -- 
> > STATE-OF-THE-ART: Any computer you can't afford.
> > OBSOLETE: Any computer you own.
> > ________________________________________________________________
> >       FreeBSD - The Power To Serve http://www.freebsd.org
> >       My Webpage http://ukug.uk.freebsd.org/~mark/
> > mailto:mark@ukug.uk.freebsd.org              http://www.radan.com
> 
> -- 
> Brian <brian@Awfulhak.org>                        <brian@FreeBSD.org>
>       <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
> Don't _EVER_ lose your sense of humour !          <brian@FreeBSD.org.uk>
> 
> 

-- 
STATE-OF-THE-ART: Any computer you can't afford.
OBSOLETE: Any computer you own.
________________________________________________________________
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org              http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990907012659.A280>