You would need to specify like this

cmd.exe /c mybatchfile.bat|.cmd


Your problem is there is nothing to interpret your batch file.
cmd has many switches do a  start -> run 

type cmd /? 

click OK or press enter


Kevin Bilbee

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Attila Balogh
> Sent: Wednesday, July 30, 2003 8:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [IMail Forum] SpamAssassin
> 
> 
> It works from command line, but when I put the batch file to the SMTP
> service as the "Delivery application", it doesn't seem to be working.
> The batch file is the following:
> 
> ---------
> set infile=%1
> set outfile=%1
> set tmpfile1=%infile%.outmail1.tmp
> set tmpfile2=%infile%.outmail2.tmp
> move /Y %infile% %tmpfile2%
> 
> "C:\etc\mail\spamassassin.exe" -a -c "C:\etc\mail\SpamAssassin" -p
> "C:\etc\mail\spamassassin\user_prefs" < "%tmpfile2%" > "%tmpfile1%"
> 
> move /Y %tmpfile1% %outfile%
> c:\imail\smtp32.exe %outfile%
> del %tmpfile2%
> ---------
> 
> Apparently the batch file doesn't start :(
> Any idea why it doesn't work? 
> 
> Thanks,
> Attila
> 
> 
> > -----Original Message-----
> > From: RMilner [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, July 29, 2003 12:03 AM
> > To: [EMAIL PROTECTED]
> > Subject: [IMail Forum] SpamAssassin
> > 
> > 
> > I use a version of Spam Assassin for Outlook on the client 
> > side that was discontinued when sold last December.
> > 
> > It catches 95%+ of the spam once set up - and catches most of 
> > the spam IMail misses now that IMail has AntiSpam built in to 
> > version 8.
> > 
> > I would not operate Outlook without it - and would love to 
> > have it built into the MailServer - as I understand Alt-N does.
> > 
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Attila Balogh
> > Sent: Monday, July 28, 2003 11:56 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: [IMail Forum] SpamAssassin
> > 
> > 
> > Has anyone tried to use SpamAssassin with Imail?
> > I just found a pre-compiled Windows version: 
> > http://www.drbig.co.uk/modules/mydownloads/singlefile.php?lid=
> 31,
> looks interesting - and inexpensive :)
> 
> Attila
> 
> 
> 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/
> 
> 
> 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/

Reply via email to