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/
=====================================================
|
- Re: [Declude.JunkMail] external program with quotes.... Matt
-