delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: CYGWIN + APCHE + Net::SMTP |
Date: | Thu, 23 Sep 2004 13:14:39 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <24BDFF97F1939B44BCBA2E6AADEB0A28246FEE@mailsc.engineering.netscaler.com> |
Message-ID: | <NUTMEGbgj23cMLSHo6D00000058@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 23 Sep 2004 12:14:49.0626 (UTC) FILETIME=[EC4A87A0:01C4A166] |
> -----Original Message----- > From: cygwin-owner On Behalf Of Prakash Khemani > Sent: 22 September 2004 23:30 > Prakash Khemani wrote: > > I also have apache2 running in my cygwin environment. When I run > mail.pl > > as a CGI script it is not able to connect to the the smtp > server. The > > Socket connection is failing (as I noticed after putting some error > > prints in SMTP.pm). > > > > The apache server is running as SYSTEM user. In the command > line I run > > it with user Khemani's permissions. > > I've seen this before and IIRC it was due to some kind of account > restrictions imposed on the SYSTEM account in later versions of > windows. Get a command prompt as the SYSTEM account and try > running the > script from it -- if it fails that will rule out the whole Apache side > of things. To do this google these archives for "sysbash" or just use > the "now /interactive" command by hand. > Mail.pl works fine in the sysbash shell. > > Thanks, > Prakash Prakash, what command line did you use to install the apache service? In particular, did you use the -i (or --interactive) option? Given that the sysbash worked, isn't it quite likely that the apache process is running as SYSTEM but lacks the interactive token, and it should work if you uninstall and reinstall it, giving the -i option to cygrunsrv this time? cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |