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 Message-ID: <001e01c452f8$7596ca40$ac050b0a@PWISNOVSKY> Reply-To: "Peter Wisnovsky" From: "Peter Wisnovsky" To: References: <004b01c44fe3$68ff0350$ac050b0a AT PWISNOVSKY> <40CF1E5C DOT FC999BC4 AT dessent DOT net> Subject: Re: Running ssh from procmail Date: Tue, 15 Jun 2004 09:47:34 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I'm running it using fetchmail -d #. Peter ----- Original Message ----- From: "Brian Dessent" To: Sent: Tuesday, June 15, 2004 9:05 AM Subject: Re: Running ssh from procmail -#- MailID:TNFA > Peter Wisnovsky wrote: > > > socket: Operation not permitted > > ssh: connect to host #.#.#.# port 22: Operation not permitted > > How are you scheduling fetchmail to run? From cron? If it's running > from cron, then it will be running as the SYSTEM user. It will be > impersonating your regular user account, but since it's launched from a > service it will actually be the SYSTEM account that owns the process. > I've read that on recent server versions (e.g. Win2k3) the SYSTEM > account has less privileges assigned to it by default, one of which > might be "access the network." If that's the case then it would explain > why it cannot gethostbyaddr() to resolve the hostname, and why the > socket functions fail with "operation not permitted" if supplied a > dotted-quad. Try adding that privilege, or have crun run as the > "NetworkService" instead of "LocalServer" or whatever it's called. > > Brian > > -- > 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/ > -- 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/