Hmm, thanks Sandy, that's interesting.
Let me make sure I understand this.  I use the same command line options for
SPAMC32 as I already have, including the -e and -et?  I then create 10
external SA tests for scores of 1 through 10.  JM looks for exact scores
(which -e gives from rounding SA scores) from 1 to 10 from SA and adds that
score to the total weight.

What happens in this scenario if SA reports a very high score, over 10?
Does the -et switch cause JM to receive the maximum set there for anything
over 10?

I am very possibly highly confused here, so I appreciate your assistance...

Thanks for weighing in here with your suggestion.  It's good to have people
who create things around to help out with them!

Geoff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sanford Whiteman
Sent: Monday, October 24, 2005 3:50 PM
To: Geoff Varney
Subject: Re[2]: [Declude.JunkMail] SPAMC32 -e option in JunkMail

> Is  there  a  way  to  ensure  that  the SPAMC32 weight passed to JM
> doesn't go negative?

This  concept  is  tricky  if  you're using the "external weight" test
type, since Declude "plays dumb" with the return code and SPAMC32 does
not  currently have a switch to zero out negative return codes (though
it's a good suggestion).

I  can  think  of  a  good  workaround, though. If you're using -et 10
(which  maxes out the positive return code at 10), this means you will
have a limited number of positive conditions, so you could just define
the test 10 times (Declude will only run the exe once, don't worry) as
an "external <code>" test type, like so:

SA1 external 1 "spamc32.exe blah blah blah" 1 0
SA2 external 2 "spamc32.exe blah blah blah" 2 0
SA3 external 3 "spamc32.exe blah blah blah" 3 0
SA4 external 4 "spamc32.exe blah blah blah" 4 0
...
SA10 external 10 "spamc32.exe blah blah blah" 10 0

The  external <code> tells Declude to look for a specific return code,
rather than just nonzero, so this is a way to get negatives out of the
picture.

There  are some combinations of the SPAMC32 switches which do not work
as  efficiently as everyone would like (they all function as designed,
mind  you!),  but  work  needs  to  be  done  to account for even more
scenarios. Thanks for your patience and interest.

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
e-mail: [EMAIL PROTECTED]

SpamAssassin plugs into Declude!
 
http://www.imprimia.com/products/software/freeutils/SPAMC32/download/release
/

Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail
Aliases!
 
http://www.imprimia.com/products/software/freeutils/exchange2aliases/downloa
d/release/
 
http://www.imprimia.com/products/software/freeutils/ldap2aliases/download/re
lease/

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to [EMAIL PROTECTED], and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to