I think you might arrange it by creating a new test called BOOL that uses other test names (including other bools) and allows for a boolean expression to pass or fail. Then the resulting test could be weighted in. This would give the most flexibility with the simplest (read most reliable & fast) code.
So, for example, #NOTE Boolean test expressions are enclosed in parenthesis. # Nested parens also work for more complex expressions. # In boolean logic, * is AND, + is OR, ~ is NOT, ^ is XOR # The following test named S_N_R is triggered when # SPAMCOP AND REVDNS are both true. # If you leave the weight off of a test then it can only be # expressed in another BOOL expression. S_N_R BOOL (SPAMCOP * REVDNS) 90000000 ... What about that? _M | -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED]] On Behalf Of R. | Scott Perry | Sent: Friday, April 26, 2002 12:51 PM | To: [EMAIL PROTECTED] | Subject: Re: [Declude.JunkMail] What do you think of this? | | | | >Would it be possible create a boolean test that we could configure, | >basically a if/then kind of thing? | > | >ex: | >if SPAMCOP and REVDNS then weight = 90000000 | | That's something that we have given some thought to, but were | never sure | how useful it would actually be (given all the combinations | of tests that | would be possible). | | Thoughts? | -Scott | | --- | [This E-mail was scanned for viruses by Declude Virus (http://www.declude.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". You can E-mail [EMAIL PROTECTED] for assistance. You can visit our web site at http://www.declude.com . --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.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". You can E-mail [EMAIL PROTECTED] for assistance. You can visit our web site at http://www.declude.com .
