From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1465 invoked by alias); 23 Apr 2004 16:58:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1454 invoked from network); 23 Apr 2004 16:58:47 -0000 Received: from unknown (HELO sdf.lonestar.org) (192.94.73.20) by sources.redhat.com with SMTP; 23 Apr 2004 16:58:47 -0000 Received: from sdf.lonestar.org (IDENT:ataru@mx.freeshell.org [192.94.73.21]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i3NGwhEN005592 for ; Fri, 23 Apr 2004 16:58:45 GMT Received: (from ataru@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i3NGwhdO013942 for cygwin@cygwin.com; Fri, 23 Apr 2004 16:58:43 GMT Date: Fri, 23 Apr 2004 17:14:00 -0000 From: Christopher Benson-Manica To: cygwin@cygwin.com Subject: Running fetchmail as a service Message-ID: <20040423165842.GA1966@SDF.LONESTAR.ORG> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes X-SW-Source: 2004-04/txt/msg00993.txt.bz2 I've tried many things to get this to work correctly, and I just don't seem to be able to get it working right... Here's my best effort: [12:53:57][cbenson@Prog09:~]> rm /var/log/fetchmail.log rm: remove write-protected file `/var/log/fetchmail.log'? y [12:54:04][cbenson@Prog09:~]> cygrunsrv -R fetchmail [12:54:09][cbenson@Prog09:~]> cygrunsrv --install fetchmail --path /usr/bin/fet chmail --args "--nodetach --invisible -ucbenson -f /cygdrive/h/.fetchmailrc" -- disp FetchMail --desc "FetchMail remote mail retrieval and fowarding service un der CygWin" --env "HOME=/cygdrive/h FETCHMAILUSER=cbenson FETCHMAILHOME=/cygdri ve/h" --shutdown [12:54:59][cbenson@Prog09:~]> cygrunsrv -S fetchmail cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. [12:55:09][cbenson@Prog09:~]> cat /var/log/fetchmail.log fetchmail: no mailservers have been specified. [12:55:09][cbenson@Prog09:~]> cat /var/log/fetchmail.log fetchmail: no mailservers have been specified. [12:55:22][cbenson@Prog09:~]> cat /cygdrive/h/.fetchmailrc # Configuration created Tue Apr 20 10:15:52 2004 by fetchmailconf set postmaster "cbenson" set bouncemail set no spambounce set properties "" set daemon 10 poll mail.domain.com with proto IMAP user 'cbenson' there with password 'xxx' is 'cbenson' here [12:56:35][cbenson@Prog09:~]> ls -l /cygdrive/h/.fetchmailrc -rw-r--r-- 1 cbenson mkgroup_ 413 Apr 20 10:17 /cygdrive/h/.fetchmailrc Any ideas here? fetchmail runs charmfully from the command line... -- Christopher Benson-Manica ataru(at)sdf.lonestar.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/