-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carl R. Friend writes:
>    Greetings Assassins!
> 
>    I've got a silly question that can be answered with a simple "Yes"
> or "No" (or a "go sod off you stupid git", although I hope it won't
> come to _that_).
> 
>    Is it possible for an eval() test to return a value to be used as
> the ultimate score for a given test?  To wit, I want to have the
> return value of the test set the score rather than the "score"
> ::Conf statement.
> 
>    All I can figure out is that the return from tests are boolean and
> the "score" statement assigns the "value" of the test.

Currently, that's all that's supported.

You could create a bitmask --

  RULE1 = score 1
  RULE2 = score 2
  RULE4 = score 4
  RULE8 = score 8

and return 1 or 0 depending on if you want that bit set ;)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Exmh CVS

iD8DBQE/rDz7QTcbUG5Y7woRAkVxAJ0XO1o5pQUCzXBxV4/PWs2qT9UwRQCgi0Yu
iJOSdIpKj4JjWDTSf0osAv4=
=CX1o
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to