public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Running fetchmail as a service
@ 2004-04-23 18:57 Richard Campbell
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Campbell @ 2004-04-23 18:57 UTC (permalink / raw)
  To: Cygwin List

>> service.  Also, don't remount /, /usr/bin, and /usr/lib as text mounts.
>> You won't be doing yourself any favors with that.
>
>Well, I remounted those because that's what cron_diagnose.sh said to
>do...  

Mount them as binary.

-Richard Campbell

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  2004-04-23 18:50       ` Christopher Benson-Manica
@ 2004-04-23 20:55         ` Larry Hall
  0 siblings, 0 replies; 8+ messages in thread
From: Larry Hall @ 2004-04-23 20:55 UTC (permalink / raw)
  To: Christopher Benson-Manica, Cygwin List

At 02:44 PM 4/23/2004, you wrote:
>>  From <http://cygwin.com/problems.html>:
>>   Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment
>>   in your report. Please do not compress the output. Just attach it as a 
>>   straight text file so that it can be easily viewed. 
>
>Sorry...
> 
>> Definitely.  And you're cygcheck output shows that '/cygdrive/h' is a 
>> network share.  If it requires a password to access it, then you won't
>> be able to use it for fetchmail.  This will keep it from starting as a
>> service.  Also, don't remount /, /usr/bin, and /usr/lib as text mounts.
>> You won't be doing yourself any favors with that.
>
>Well, I remounted those because that's what cron_diagnose.sh said to
>do...  


Actually, I think you'll find it complained that those mounts weren't 
mounted as "system".  I've noticed it complain about that even when
they are.


>So is there no way I can use the network share for fetchmail?


Sure.  Add "Everyone" to the list of users in the "Security" tab for the 
file properties in the Explorer.  But that gives everyone and anyone 
access to your directory.



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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  2004-04-23 18:44     ` Larry Hall
@ 2004-04-23 18:50       ` Christopher Benson-Manica
  2004-04-23 20:55         ` Larry Hall
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Benson-Manica @ 2004-04-23 18:50 UTC (permalink / raw)
  To: Cygwin List

>  From <http://cygwin.com/problems.html>:
>   Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment
>   in your report. Please do not compress the output. Just attach it as a 
>   straight text file so that it can be easily viewed. 

Sorry...
 
> Definitely.  And you're cygcheck output shows that '/cygdrive/h' is a 
> network share.  If it requires a password to access it, then you won't
> be able to use it for fetchmail.  This will keep it from starting as a
> service.  Also, don't remount /, /usr/bin, and /usr/lib as text mounts.
> You won't be doing yourself any favors with that.

Well, I remounted those because that's what cron_diagnose.sh said to
do...  So is there no way I can use the network share for fetchmail?

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  2004-04-23 18:34   ` Christopher Benson-Manica
@ 2004-04-23 18:44     ` Larry Hall
  2004-04-23 18:50       ` Christopher Benson-Manica
  0 siblings, 1 reply; 8+ messages in thread
From: Larry Hall @ 2004-04-23 18:44 UTC (permalink / raw)
  To: Christopher Benson-Manica, cygwin

At 02:21 PM 4/23/2004, you wrote:
>> We really need all the information requested by:
> 
>> >Problem reports:       http://cygwin.com/problems.html
>
>Attached as gz.


 From <http://cygwin.com/problems.html>:
  Run cygcheck -s -v -r > cygcheck.out and include that file as an attachment  
  in your report. Please do not compress the output. Just attach it as a 
  straight text file so that it can be easily viewed. 


>> Seems very odd that '/var/log/fetchmail.log' exists after the failed
>> attempt to start fetchmail as a service.  
>
>Why do you say that?  Fetchmail is exiting immediately with the "no
>mailservers" error message, and that's getting logged to
>/var/log/fetchmail.log...


I suppose.  But then the service should have said it started.  Anyway,
I don't think it's a big deal.  Just odd.


>> Are you sure it was deleted
>> to start with?
>
>Yes.


OK.


>> Also, if '/cygdrive/h' is a password protected share 
>> (which cygcheck output would tell me), fetchmail won't be able to access 
>> it.
>
>Maybe :)


Definitely.  And you're cygcheck output shows that '/cygdrive/h' is a 
network share.  If it requires a password to access it, then you won't
be able to use it for fetchmail.  This will keep it from starting as a
service.  Also, don't remount /, /usr/bin, and /usr/lib as text mounts.
You won't be doing yourself any favors with that.


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  2004-04-23 17:20 ` Larry Hall
@ 2004-04-23 18:34   ` Christopher Benson-Manica
  2004-04-23 18:44     ` Larry Hall
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Benson-Manica @ 2004-04-23 18:34 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

> We really need all the information requested by:
 
> >Problem reports:       http://cygwin.com/problems.html

Attached as gz.

> Seems very odd that '/var/log/fetchmail.log' exists after the failed
> attempt to start fetchmail as a service.  

Why do you say that?  Fetchmail is exiting immediately with the "no
mailservers" error message, and that's getting logged to
/var/log/fetchmail.log...

> Are you sure it was deleted
> to start with?

Yes.

> Also, if '/cygdrive/h' is a password protected share 
> (which cygcheck output would tell me), fetchmail won't be able to access 
> it.

Maybe :)

-- 
Christopher Benson-Manica
ataru(at)sdf.lonestar.org

[-- Attachment #2: m.txt.gz --]
[-- Type: application/x-gunzip, Size: 4934 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  2004-04-23 17:14 Christopher Benson-Manica
  2004-04-23 17:20 ` Larry Hall
@ 2004-04-23 17:36 ` Igor Pechtchanski
  1 sibling, 0 replies; 8+ messages in thread
From: Igor Pechtchanski @ 2004-04-23 17:36 UTC (permalink / raw)
  To: Christopher Benson-Manica; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Running fetchmail as a service
  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 17:36 ` Igor Pechtchanski
  1 sibling, 1 reply; 8+ messages in thread
From: Larry Hall @ 2004-04-23 17:20 UTC (permalink / raw)
  To: Christopher Benson-Manica, cygwin

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


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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Running fetchmail as a service
@ 2004-04-23 17:14 Christopher Benson-Manica
  2004-04-23 17:20 ` Larry Hall
  2004-04-23 17:36 ` Igor Pechtchanski
  0 siblings, 2 replies; 8+ messages in thread
From: Christopher Benson-Manica @ 2004-04-23 17:14 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-04-23 18:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 18:57 Running fetchmail as a service Richard Campbell
  -- strict thread matches above, loose matches on Subject: below --
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 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).