On Fri, 23 Apr 2004, Christopher Benson-Manica 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:[EMAIL PROTECTED]:~]> rm /var/log/fetchmail.log
> rm: remove write-protected file `/var/log/fetchmail.log'? y
> [12:54:[EMAIL PROTECTED]:~]> cygrunsrv -R fetchmail
> [12:54:[EMAIL PROTECTED]:~]> 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:[EMAIL PROTECTED]:~]> cygrunsrv -S fetchmail
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> The service has not been started.
>
> [12:55:[EMAIL PROTECTED]:~]> cat /var/log/fetchmail.log
> fetchmail: no mailservers have been specified.
> [12:55:[EMAIL PROTECTED]:~]> cat /var/log/fetchmail.log
> fetchmail: no mailservers have been specified.
> [12:55:[EMAIL PROTECTED]:~]> 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:[EMAIL PROTECTED]:~]> 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...

/cygdrive/h looks like a shared drive.  If it requires authentication, it
won't be accessible from a passwordless token created by the service, so
the file is *not* readable, even if it has a world read permission.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

Reply via email to