This is the mail archive of the
mailing list for the Cygwin project.
RE: CYGWIN + APCHE + Net::SMTP
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 23 Sep 2004 13:14:39 +0100
- Subject: RE: CYGWIN + APCHE + Net::SMTP
> -----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
> > 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.
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
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html