Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 25 Sep 2001 10:44:40 -0500 From: "David Monk" To: cygwin AT cygwin DOT com Subject: Re: Fetchmail as a service Message-ID: <20010925104439.A473@purplebear.net> Reply-To: cygwin AT cygwin DOT com References: <00f001c14535$b5500cb0$391e10ac AT dmonknt> <20010924212459 DOT A2224 AT dothill DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010924212459.A2224@dothill.com>; from jason@tishler.net on Mon, Sep 24, 2001 at 09:24:59PM -0400 Well, it would appear all is working well now. I now have procmail working and delivering my mail. I had originally tried a perl script, spoolmail.pl, which I think was causing me some heartache. And, I have fetchmail running as a service. I think this will be a decent setup. It would be nice to have an outgoing MTA that didn't depend on a smarthost for delivery, but ssmtp will suffice for now. Thanks for the help, David Monk On Mon, Sep 24, 2001 at 09:24:59PM -0400, Jason Tishler wrote: > 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/