Dan,
 
It's most likely a permissions issue. If you're triggering this Perl app from the web, you'll need to make sure the built-in IUSR_MachineName account (the anonymous internet user account) has FULL RIGHTS to all the command-line utilities you're triggering.
 
Also, with Win2K, it's important to set the website (or virtual dir) configuration properties (in IIS-site-properties-Home Directory) to "Script and Execute" rights, with Low (IIS Process) application priority. (If that selection is grayed out, create a new Configuration for the website by clicking the Create button on the Home Directory panel.)
 
Hope this helps,
 
Ron
[EMAIL PROTECTED]

 IMail Add-Ons by Humankind Systems ~ 1,249 admins can't be wrong
  
http://killerwebmail.com - the name says it all
  
http://hksi.net/products - Templates, EZSignUp, You'veGotIMail!, etc...   
  
http://hksi.net/testimonials - hear what they're saying


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dan Richfield
Sent: Friday, March 16, 2001 1:46 PM
To: [EMAIL PROTECTED]
Subject: [IMail Forum] problem with command line utilities

Hello,
 
I have IMail 6.0 that i was running with no problem on Windows NT 4.0,  I recently transferred the imail server to another machine running windows 2000 advanced server.  The switch was flawless and the mail server is operating just fine.  The problem is with the command line utilities.  I wrote an email administration in perl that executes the command line exe's included with IMail via the system() command.  When i attempt to execute the commands from the perl program, it tells me that it was unable to complete the function, yet when i execute the commands from the command line manually, they work just fine.  Are there any known issues with IMail and win 2000?  maybe this is a permissions problem?  permission should be fine, I have them setup identically as I do on the previous windows nt 4.0 machine.   
 
I also wrote another perl program that consists of this only:
 
system("c:/imail/adduser.exe -u test44 -h easy-cgi.com -n \"Full Name\" -p test >>temp.txt");
 
That writes the following to temp.txt:
 
ERR: failed to add user test44 on easy-cgi.com
 
that means that the adduser.exe is executing properly, but it has a problem adding the user to imail.  easy-cgi.com exists in imail.  can you give me any insight to why this may be happening?  Thanks.
 
--
Dan Richfield
---------------------------------
- Easy CGI, System Administrator
- http://www.easy-cgi.com
- [EMAIL PROTECTED]
- 866-EASY-CGI (toll free)
---------------------------------

Reply via email to