Re: [Evolution] Boolean filter expressions



Uh, I forgot ...

This is only on the HEAD version :-/

The old version you need to put each word in a separate body-contains
match.  Also, if your'e using body indexing, <html> wont work, it strips
tags.  And if you're not using indexing you can put spaces in the word
(but you cannot otherwise).  It is still case insenstive though.

This has been fixed in HEAD, although html messages still have their
tags stripped, you'd need some other mechanism (which i dont think we
have currently) to do it.

On Thu, 2002-06-27 at 22:52, Not Zed wrote:

If you use
body contains
"<html> click here"

It will search for
<html> or <HTML> or <Html>
AND
click or CLICK
AND
here or HERE (or Here, or HeRe, etc)

i.e. body searches are case insensitive, so you dont need the extra
ands.

You coudl specify a specific s-exp yourself, but you dont need to.

Also, when indexed the phrase "click here" cannot be search for
explicitly, it searches only for "click" and "here".


On Fri, 2002-06-28 at 12:46, Warren Post wrote:
Is there a way to use boolean expressions in filters? For example, say I
want to filter all HTML mail that contains the phrase "click here", case
insensitive. (That's right, a spam filter.) As a boolean expression it's
easy:

(<html> OR <HTML>) AND ("click here" OR "CLICK HERE")

But the filter dialog seems to limit me to using either AND or OR but
not both (specifically, either "if all criteria are met" or "if any
criteria are met"). There's a promising sounding option called
"expression" in there but I can't figure out the syntax it expects.

Warren





_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution


_______________________________________________
evolution maillist  -  evolution ximian com
http://lists.ximian.com/mailman/listinfo/evolution





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]