Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Mon, 24 Sep 2001 21:24:59 -0400
From: Jason Tishler <jason@tishler.net>
To: David Monk <david@purplebear.net>
Cc: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: Fetchmail as a service
Message-ID: <20010924212459.A2224@dothill.com>
Mail-Followup-To: David Monk <david@purplebear.net>,
	Corinna Vinschen <cygwin@cygwin.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00f001c14535$b5500cb0$391e10ac@dmonknt>
User-Agent: Mutt/1.3.18i

David,

On Mon, Sep 24, 2001 at 03:15:51PM -0500, David Monk wrote:
> There was a message in the archive regarding running fetchmail as a service
> via cygwin. But, the only thing in the message was "Yes. I have it running.
> And as a service" basically.
> Has anyone hanging around and paying attention to the list got fetchmail
> running as a service? If so, was there anything special you had to do to get
> it all working properly?

Not under NT 4.0, but when I upgraded to 2000 I had two problems:

1. fetchmail would corrupt some on my mail.  See the following for
the details and patch:

    http://sources.redhat.com/ml/cygwin/2001-08/msg00628.html

2. I needed to (re)define the HOME variable when I installed fetchmail
as a service:

    cygrunsrv --install fetchmail --path /usr/local/bin/fetchmail --args "--daemon 300 --nodetach" --env HOME=/home/jt --termsig TERM --user 'althea\jt' --shutdown

> I have fetchmail configured and delivering mail to a local spool file, but
> it fails on start when install using cygrunsrv.

Maybe #2 above is affecting you too?  What are the error messages when
fetchmail fails to start via cygrunsrv?

BTW, I have fetchmail invoking procmail and the combination works very
nicely.  And, when someone sends me a MS Word document, I can still view
it via mutt's autoview feature.

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

