Another note...my issue was with CScript being used to call VBS files and trying to insert quotes.  I'm not sure if I tried this, but I gave up after a few hours and worked around the issue by coding something in the script to handle it.  I don't know if this is unique to the CScript environment when called from Declude, or if I even tried that particular method.  I'm not sure that CScript allows for switches of this variety.  I think that Scott does mostly VB executables, so I'm guessing that his options and capabilities are different than mine in this regard, and maybe even different from yours.  I'm not sure what determines how to parse the arguments out of such things, whether it is executable specific, or something in the environment.  That would be nice to know if anyone does in fact know.

Thanks again,

Matt



Matt wrote:
If it works for you, then it should work for all.  Thanks for sharing.

Matt



Chase Seibert wrote:
Here is the exact rule I have:
 
SPAMASSASSIN  external nonzero "C:\Apps\CheckSpamAssassin\executePipe.exe -e -c C:\Apps\CheckSpamAssassin\spamassassin.exe -a \"-e -L\" -f " 7 0 
 
This executes executePipe.exe with the argument -a "-e -L" correctly.

 

     -Chase

Chase Seibert |  Network and Systems Engineer |  Bullhorn Inc.  |  617.464.2440 x119  |  www.bullhorn.com


 
-----Original Message-----
From:Matt [EMAIL PROTECTED] 
To: "[email protected]" ;
Sent: Jan 11, 2005 10:04:03 AM
Subject: Re: [Declude.JunkMail] external program with quotes....
My experience was that Declude uses the first two sets of quotes, 
regardless of switches. There is no special handling for such things. 

Matt 



Chase Seibert wrote: 

  
Try: 



MR-MATCHING external 11 "D:\IMail\Declude\FPFilters\vbs\FRDNS.exe PATH=d:\IMail\declude\FPFilters LOG=HIGH CW=%WEIGHT% SW=440 REVDNS=\"%REVDNS%\" FROM=%MAILFROM%" 0 0 


I believe I have a rule that uses \", and it works. 



-Chase 

Chase Seibert | Network and Systems Engineer | Bullhorn Inc. | 617.464.2440 x119 | www.bullhorn.com 



-----Original Message----- 
From:Scott Fisher [EMAIL PROTECTED] 
To: "[email protected]" ; 
Sent: Jan 11, 2005 09:34:47 AM 
Subject: Re: [Declude.JunkMail] external program with quotes.... 


I agree. But the %REVDNS% variable may contain [No Reverse DNS] which contains spaces... 

----- Original Message ----- 
From: Kevin Bilbee 
To: [email protected] 
Sent: Monday, January 10, 2005 10:19 PM 
Subject: RE: [Declude.JunkMail] external program with quotes.... 




Reverse dns should never have spaces in it. 



-----Original Message----- 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott Fisher 
Sent: Monday, January 10, 2005 7:22 PM 
To: [email protected] 
Subject: [Declude.JunkMail] external program with quotes.... 



I'm writing my own external program to compare domain names. 

I need to pass the %REVDNS% parameter with quotes around it due to possible spaces in it. 

Is this possible? 





Will this work? 


MR-MATCHING external 11 "D:\IMail\Declude\FPFilters\vbs\FRDNS.exe PATH=d:\IMail\declude\FPFilters LOG=HIGH CW=%WEIGHT% SW=440 REVDNS=""%REVDNS%"" FROM=%MAILFROM%" 0 0 



    

  

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================

-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================

Reply via email to