You need to create a CMD batch file that calls cscript then set the CMD file as the SMTP delivery app..
Filter.cmd --------------------- h:\winnt\system32\cscript.exe j:\fileter.vbs %1 //Nologo --------------------- The %1 will pass the parameter to it.. Give that a try, let me know how it works.. Thanks, Shad D. Pulley Sr. Systems Engineer IKANO Communications [EMAIL PROTECTED] 801-415-8023 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of R. Scott Perry Sent: Wednesday, September 10, 2003 5:47 AM To: [EMAIL PROTECTED] Subject: Re: [IMail Forum] Running a .vbs file with the SMTP Delivery Application setting >Yes, i have it setup like that but it does not appear to be running >successfully and I get an error in the Log file as below > >20030910 021307 127.0.0.1 SMTPD (CP) error 123 executing >"h:\winnt\system32\cscript.exe j:\Filter.vbs" >"i:\IMail\spool\Q1833004502183f3c.SMD" That's an "Invalid file name" error. It looks like you are telling IMail that your program name is "h:\winnt\system32\cscript.exe j:\Filter.vbs", but that isn't the name of your program (the name of the program you want to run is "h:\winnt\system32\cscript.exe", and you want the parameters to be ""j:\Filter.vbs i:\IMail\spool\Q1833004502183f3c.SMD"). I don't think IMail will let you send customized parameters, so you would need to create a program that would automatically run your .vbs program. -Scott --- Declude JunkMail: The advanced anti-spam solution for IMail mailservers. Declude Virus: Catches known viruses and is the leader in mailserver vulnerability detection. Find out what you have been missing: Ask for a free 30-day evaluation. --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] 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/ 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/
