Usenet Explorer

Ban filter
Page 1 of 1

Author:  Tipperton [ Sun May 15, 2005 2:21 pm ]
Post subject:  Ban filter

Simple question.

If I setup:
subject contains "foo", All, Ban
subjuct contains "bar", All, Ban
Will all messeges that contain "foo" and or "bar" be killed?

Then if I add:
subject contains "foobar" All, Extract
Would that still ban messeges that contain "foo" and or "bar" but allow messeges that contain "foobar".

Bassically I have a list of words I want to kill filter, but I also have some cinditions I that want to over ride the word list and allow the messege through and I'm trying to figure out the best way to setup the kill filter.

NOTE: The quotes are just to deliminate the search word, they are not part of the filter.


Author:  alex [ Wed May 18, 2005 5:43 am ]
Post subject: 

you need to use boolean wildmat like

if you want to kill "groups" "question" but leave "group" and "questions"

subject contains ^groups&^question|group[^s]|questions all extract

[^s] means all but s

you need to know a bit about boolean logic and few wildmat special characters

for boolean wildmats (my extention of wildmats) ^ means negation, & - AND, | - NO, also you can use parentheses but here they are not necessary because & has preference over |.

Author:  Tipperton [ Wed May 18, 2005 11:57 am ]
Post subject: 

How about doing it this way:
subject contains "hello", All,        Select
subject contains "foo",   Unselected, Ban
subject contains "bar",   Unselected, Ban
I'm thinking that since the word list is rather long, maintaining it would be easier if I can keep on a separate line in the filter.

This is actually a better description than the first since the messages I'd want to let through the filter would have subject content that isn't a specific word, but the subject could have a word I want to filter out.

For example: from above, a subject with "foo" or "bar" would be killed, but a subject with "hello" would be kept irregardless of whether it has "foo" or "bar" or not.

Author:  alex [ Wed May 18, 2005 2:47 pm ]
Post subject: 

if it is something simple probably you can use several line filter, but i think then you cannot handle overlapped words well.

ban rather means select+ban, i.e. apply the condition to unselected and then ban applying to all resulted selected, selected/unselected came from message filter dialog when there was no filter editor, so it is more useful rather in the message filter dialog.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group