Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040423130609.037f1008@127.0.0.1> X-Sender: Date: Fri, 23 Apr 2004 13:10:00 -0400 To: Christopher Benson-Manica , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Running fetchmail as a service In-Reply-To: <20040423165842.GA1966@SDF.LONESTAR.ORG> References: <20040423165842 DOT GA1966 AT SDF DOT LONESTAR DOT ORG> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:58 PM 4/23/2004, you wrote: >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 AT Prog09:~]> rm /var/log/fetchmail.log >rm: remove write-protected file `/var/log/fetchmail.log'? y >[12:54:04][cbenson AT Prog09:~]> cygrunsrv -R fetchmail >[12:54:09][cbenson AT 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 AT Prog09:~]> cygrunsrv -S fetchmail >cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: >The service has not been started. > >[12:55:09][cbenson AT Prog09:~]> cat /var/log/fetchmail.log >fetchmail: no mailservers have been specified. >[12:55:09][cbenson AT Prog09:~]> cat /var/log/fetchmail.log >fetchmail: no mailservers have been specified. >[12:55:22][cbenson AT 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 AT 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... We really need all the information requested by: >Problem reports: http://cygwin.com/problems.html Seems very odd that '/var/log/fetchmail.log' exists after the failed attempt to start fetchmail as a service. Are you sure it was deleted to start with? Also, if '/cygdrive/h' is a password protected share (which cygcheck output would tell me), fetchmail won't be able to access it. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/