scott,

Thursday, October 16, 2003 you wrote:
> Ok, I've tried all of these and still no joy. It seems like my
> .bat file is not being called. I added calls to Net::Syslog to
> it, too, and nothing. When I run it at the command prompt, though
> it works fine.

  This might indicate a permissions issue.  Normally IMAIL will run
  under system context.  So make certain that your perl bin directory
  and perl program can be accessed by System.  Frequently these have
  "everyone - all" permissions but I've seen servers where System had
  to be added explicitly.

  Of course if you've changed the context for IMAIL then you have to
  add that user to the perl and program permissions.

  Usually registry permissions are okay.

  It also could be that you need to include a CD to the directory your
  script is in.  I've had to do this sometimes and I'm not really
  certain why. (like cd "c:\wsh\")

  The way to know if your alias is working or not is to look in your
  spool file for a .tmp file.  You can view it in a text editor.

  Yes, I suspect almost all of us went through this when we made our
  first program alias.  The way I did it was that I started with the
  example in the Knowledge Base.  I copied it exactly and got it to
  work.

    http://support.ipswitch.com/kb/IM-19980116-DD11.htm

  You can make almost anything up for the alias though and the .tmp
  file will be created in the spool.  I don't think there is much
  error reporting in the logs - maybe in debug - but I haven't tried
  it in a long time.

  Then I changed the bat file and kept messing with it until I got it
  to work with my perl script.

  But I recall this being very frustrating when I started.
  

HTH

Terry Fritts






To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/

Reply via email to