To try running directly a .pl file verify that : the PATHEXT global variable contains .PL in it AND the .PL files are well associated with {path to perl.exe}\perl.exe (a standard activeperl should do these two, but not sure for the first)
If it don't work try starting the script with "perl.exe D:\Mailroot\Scripts\autoreply.pl" in the mailproc.tab replacing "D:\Mailroot\Scripts\autoreply.pl" If it don't work too try with "{path to perl.exe}\perl.exe D:\Mailroot\Scripts\autoreply.pl" Note that standard 'registered' (in the registry) associated files = handling seems to not be handled by the win32 api function used in xmail to = start a process (i don't have in mind the name of the function used and the = name of the api function that handle these associations) If fact to be sure that a script (perl, tcl, vbs, js, ...) starts from = xmail ALLWAYS use the syntax : "{full path to exe that handle the script type, ie c:\perl\perl.exe} {full path to script file, ie toto.pl}" Francis -----Message d'origine----- De : Theo [mailto:[EMAIL PROTECTED]] Envoy=E9 : lundi 30 d=E9cembre 2002 21:59 =C0 : [EMAIL PROTECTED] Objet : [xmail] Perl in windows. Hello , Nice the xmailserver list is back ;-) But i have some dificulty's starting perl script via mailproc.tab in xmail /windows. Note that i'm not using xmail on windows myself ,but someone other has this strange problem. I'm the developer of autoreply script , it runs nice within xmail/linux , but in xmail/windows there seems some probllems . I think that the perl executable cannot be found .. >From the commandline ('dos' prompt) all works as it should be . but when starting from xmail's mailproc.tab xmail responses with the following errors: SMTP client connection from [x.x.x.x] SMTP client exit [x.x.x.x] SMAIL local SMTP =3D "domain.net" From =3D <[EMAIL PROTECTED]> To=3D <[EMAIL PROTECTED]> << ErrCode =3D -121 ErrString =3D Error executing external process USMAIL EXTRN-Send Prg =3D "D:\Mailroot\Scripts\autoreply.pl" From =3D"[EMAIL PROTECTED]" To =3D "[EMAIL PROTECTED]" Failed ! We've tested to start the script via a batch file(within mailproc.tab) , and then all works well , so in my opinion perl couldn't be started due some strange reasons . Perl is in the 'path' , and .pl files are associated with perl=20 btw Xmail is running as service . Groeten, Theo. --=20 You've got TECO. What more do you want?=20 -Overzicht lijnmonitoren : http://lijnmonitor.thbird.org/overzicht -Kwaliteitstest Cistron Backbone : http://lijnmonitor.thbird.org -Our sites are 100% UPC free --Uptime thbird.org:59 days, 8 hours and 21 minutes, 0 users logged in. - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]