Hi I put it in mailroot\filter, and I can see that it runs for every mail but... If I echo 97, the mail is not discarded as I thought it would be. Is the response from the script expected from STDOUT?
/Hakan -----Original Message----- From: Davide Libenzi [mailto:[EMAIL PROTECTED]] Sent: den 4 februari 2003 18:29 To: XMail mailing list Subject: [xmail] Re: Responce from batch file to filter On Tue, 4 Feb 2003, H=E5kan Stork wrote: > Hi > I'm having problems with getting filters to receive output from a script. > Versions are XMAIL 1.12 on a NT 4. Just for testing I use a file > (discard.bat) with only one row: > echo 97 > > The plan was that messages would be discarded but they are not. I now tha= t > the script runs because I get what I expected if I use this single row: > echo 97 >> C:\temp\test > > Do I have to call on the script in any special way, or redirect output in > some way? I used this syntax in <domain>.tab: > "CMD /Q /C C:\temp\discard.bat" Where did you drop this "domain.tab" file ? Try : "C:\WINNT\SYSTEM32\CMD.EXE"=09"/Q /C C:\temp\discard.bat" - Davide - 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] ------------------------------------------------- This message contains information that may be privileged or confidential and is the property of Cyber Com and may be exempt from disclosure under applicable law. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This agreement shall be governed by the law where the sender has its place of business. Any attachment(s) to this e-mail has been checked for viruses, but please rely on your own virus-scanner and procedures. ------------------------------------------------- - 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]
