You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2011/08/02 20:49:44 UTC
[Bug 6641] Bounded "tflags multiple"
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6641
Adam Katz <an...@khopis.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |antispam@khopis.com
--- Comment #6 from Adam Katz <an...@khopis.com> 2011-08-02 18:49:44 UTC ---
(In reply to comment #0)
> meta MANY_MUMBLE __MUMBLE=5
I believe MANY_MUMBLE would *always* fire since the evaluation of "__MUMBLE=5"
would always be true (since there is no case in which __MUMBLE cannot be
assigned the value of five).
I believe you wanted: __MUMBLE==5
Meta rules are basically perl eval expressions; I've run into metas that used
the ternary operator as well as various assigned values, e.g.
meta __FOO BAR + BAZ + BADA + BING + BANG + BOOM
meta __CEILING __FOO > 2 ? 2 : __FOO
meta RESULT BIZZ + BUZZ + FIZZ + __CEILING > 2
Note that I do *NOT* advocate doing this, and there are better/cleaner ways of
implementing the same logic, but I was surprised to see that this actually
works.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.