public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: Christopher Benson-Manica <ataru@sdf.lonestar.org>
Cc: cygwin@cygwin.com
Subject: Re: Running fetchmail as a service
Date: Fri, 23 Apr 2004 17:36:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.56.0404231315260.16306@slinky.cs.nyu.edu> (raw)
In-Reply-To: <20040423165842.GA1966@SDF.LONESTAR.ORG>

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: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...

/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/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,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/

  parent reply	other threads:[~2004-04-23 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-23 17:14 Christopher Benson-Manica
2004-04-23 17:20 ` Larry Hall
2004-04-23 18:34   ` Christopher Benson-Manica
2004-04-23 18:44     ` Larry Hall
2004-04-23 18:50       ` Christopher Benson-Manica
2004-04-23 20:55         ` Larry Hall
2004-04-23 17:36 ` Igor Pechtchanski [this message]
2004-04-23 18:57 Richard Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.56.0404231315260.16306@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=ataru@sdf.lonestar.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).